Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2022 22:19:08 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        tech-lists <tech-lists@zyxst.net>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: strange compiling problems on AMD Ryzen 5 5600G with freebsd-current
Message-ID:  <2D4BE7E5-B5D2-4D3E-B137-2830C2DD80DE@FreeBSD.org>
In-Reply-To: <20220105204945.GA42063@troutmask.apl.washington.edu>
References:  <YdThqlu2ltC4XewY@ceres.zyxst.net> <YdVO%2Bj3XWb90lNfo@server.rulingia.com> <YdX8Pk%2BbConLXWk5@ceres.zyxst.net> <20220105204945.GA42063@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <sgk@troutmask.apl.washington.edu> =
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2D4BE7E5-B5D2-4D3E-B137-2830C2DD80DE>