From nobody Wed Jan 5 21:19:08 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B04219254C1 for ; Wed, 5 Jan 2022 21:19:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JTj6F6fGzz566L; Wed, 5 Jan 2022 21:19:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id A87F41E95; Wed, 5 Jan 2022 21:19:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 5C89D5657D; Wed, 5 Jan 2022 22:19:15 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_DADAE436-4297-4362-8182-113BDEDF2E95"; protocol="application/pgp-signature"; micalg=pgp-sha1 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: strange compiling problems on AMD Ryzen 5 5600G with freebsd-current From: Dimitry Andric In-Reply-To: <20220105204945.GA42063@troutmask.apl.washington.edu> Date: Wed, 5 Jan 2022 22:19:08 +0100 Cc: FreeBSD Hackers Message-Id: <2D4BE7E5-B5D2-4D3E-B137-2830C2DD80DE@FreeBSD.org> References: <20220105204945.GA42063@troutmask.apl.washington.edu> To: tech-lists X-Mailer: Apple Mail (2.3693.40.0.1.81) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641417557; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=z/UvFN0uE6oTt2M0m1NdBXiJc2vCI+RTPfoqXz/pcqo=; b=Zuk85h9CWPUrvZjQONNJE3nxCG4FDvgZMDRL9x+M2uPutzTudu1g/Ml9QfKVDvzthsRa0C 1jvsoUBCmqqZHMnq17jmnmInb/x2k/6c+uYOqN+raEpGfC8wzVUQPbn5MgHS5dEYa26Vfa 0aWaqq9MAjU7OleghOC8Cf6eweyaJMqXQxNnyWwaaERElqJ1udTge85gK85tmMFWqSFO5r /ptBz6jaXq8CSHokPqLgbJ7u3oFqiFE8TpFXZbSjIap9lix9JarSMgOT7MaDbCljBYUcr6 p/SzowRlja+aabtlCJUxDTO/A0Ksz7WbOAFsp6OjK7B5bcTVT4jNOGcvBzyICQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641417557; a=rsa-sha256; cv=none; b=bx77O8rqmP5bJEzNkJ2SRUn7Bfl0dmBNIN3yFFDd6Ar0pZDngrPI4MQ9C6zJ6/8/uV267v U/45N88bIh0tT/4jI87ZCPsCggseIKjEPcEOH8e65p01ZmiLenJ5KA0OvL5DRPFW1eysD9 w2dId9cx8h+P6cDGftuEDaPeAgtiJoUIlOooPn4Mea6vDq/kTTs3lUkm5GtnenwqY+mla8 MtOjictzEMPbSe5T8T29/4XmJT4y8pTiWBIUSjKlYeUjG9TeJmin6YBT0xlFQUsgahfITA dRL3iWkJ7MoE5hUTGVL/7sDAoxzhiRE8Yw7XNg/qnG4dEB0GJmYVmvlwGjaMjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_DADAE436-4297-4362-8182-113BDEDF2E95 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 5 Jan 2022, at 21:49, Steve Kargl = wrote: >=20 > On Wed, Jan 05, 2022 at 08:14:54PM +0000, tech-lists wrote: >> On Wed, Jan 05, 2022 at 06:55:38PM +1100, Peter Jeremy wrote: >>> 1) Can you share more details on "fails to build". Are you in a = position >>> to share a build log. >>=20 >> The last part of the build log from llvm13 is here: >> https://cloud.zyxst.net/~john/FreeBSD/current/amd64/llvm13.log >>=20 >> It's not the entire build log. i'll try making a better one >=20 > Well, did you try the help hint? >=20 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the = failure to > the maintainer. >=20 > This would isolate what is actually failing. With that stated, I note > the first line of the log contains "FAILED: tools/flang/...". When = you > configure llvm13 disable the building of flang (i.e., the Fortran = compiler). Indeed, building flang is usually pretty memory intensive, so it is likely that the OP is running into OOM errors. (Though the log is only the last few lines, hiding the actual error.) Turning off flang would help in that case, as would turning off make jobs. -Dimitry --Apple-Mail=_DADAE436-4297-4362-8182-113BDEDF2E95 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYdYLTAAKCRCwXqMKLiCW o3J2AKDKuee2FQagx8tYeoZrKfNyW+q0OwCfV3rUkcd/mZNOQw6OC9toSVLXxrQ= =RHCV -----END PGP SIGNATURE----- --Apple-Mail=_DADAE436-4297-4362-8182-113BDEDF2E95--