Date: Mon, 19 Jul 2021 11:01:03 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Ronald Klop <ronald-lists@klop.ws> Cc: FreeBSD Ports <freebsd-ports@freebsd.org>, Michal Meloun <mmel@FreeBSD.org> Subject: Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44) Message-ID: <A517966B-63FC-4AF5-9B1E-EA2EE7BECCC7@FreeBSD.org> In-Reply-To: <1529638903.1.1626679781992@mailrelay> References: <561167089.7.1626421438153@localhost> <1529638903.1.1626679781992@mailrelay>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_6E5849CC-0FF0-48A9-BF74-42260FA9CC5A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 19 Jul 2021, at 09:29, Ronald Klop <ronald-lists@klop.ws> wrote: >=20 > Does anybody have a clue why I get this error since clang 12 on = aarch64/arm64? > Do other ports have the same issue? >=20 > Regards, > Ronald. >=20 > Van: Ronald Klop <ronald-lists@klop.ws> > Datum: vrijdag, 16 juli 2021 09:43 > Aan: freebsd-arm@freebsd.org > Onderwerp: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 = (mongodb44) >> Hi, >> I'm also maintaining databases/mongodb44 and this gives undefined = symbols since llvm12 (I think). >> See: = http://www.ipv6proxy.net/go.php?u=3Dhttp://ampere2.nyi.freebsd.org/data/ma= in-arm64-default/pf44e1c1de734_s63ca9ea4f3/logs/errors/mongodb44-4.4.6.log= >> And look for: >> ld.lld: error: undefined symbol: __aarch64_ldadd8_acq_rel >> There are a bunch of similar symbols not found while linking. >> This compiles fine using llvm11 or on amd64. It turns out clang 12 now enables -moutline-atomics by default, but we don't yet expose the necessary functions from compiler-rt. As a temporary workaround, compile with -mno-outline-atomics. Meanwhile, adding these functions to the compiler-rt lib is on my TODO list. -Dimitry --Apple-Mail=_6E5849CC-0FF0-48A9-BF74-42260FA9CC5A 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYPU/TwAKCRCwXqMKLiCW o5xqAJ9wx5h0/X7dXO+zMMxCtFchbUrUYwCgo2jeJ9TVwCr2v3ABvGkPkrUQNLE= =OLFT -----END PGP SIGNATURE----- --Apple-Mail=_6E5849CC-0FF0-48A9-BF74-42260FA9CC5A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A517966B-63FC-4AF5-9B1E-EA2EE7BECCC7>