Date: Fri, 3 Sep 2021 12:45:47 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: mmel@freebsd.org Cc: Ronald Klop <ronald-lists@klop.ws>, FreeBSD Ports <freebsd-ports@freebsd.org>, Ed Maste <emaste@freebsd.org> Subject: Re: (solved) Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44) Message-ID: <7359868D-C028-4C8A-9ED6-D2DE8CDF8727@FreeBSD.org> In-Reply-To: <e09892fd-aee0-1e5a-0bc9-c630d89ea21e@freebsd.org> References: <A517966B-63FC-4AF5-9B1E-EA2EE7BECCC7@FreeBSD.org> <2089802880.12287.1627193420123@localhost> <671841132.16.1630657914506@mailrelay> <E1A02CD7-F84B-4960-914C-4B84341423DF@FreeBSD.org> <e09892fd-aee0-1e5a-0bc9-c630d89ea21e@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 3 Sep 2021, at 12:02, Michal Meloun <meloun.michal@gmail.com> wrote: >=20 > On 03.09.2021 11:08, Dimitry Andric wrote: ... >> but in FreeBSD we don't have getauxval(), and I'm unsure if AT_HWCAP >> works on aarch64. >> As this is all outside my domain of knowledge I'd appreciate if = somebody >> knows how to retrieve this information on our AArch64 implementation. = :) >> -Dimitry >=20 > We already have elf_aux_info(3) as counterpart to getauxval() and = AT_HWCAP and AT_HWCAP2 are supported on arm64 as well, so the fix is = trivial. > I'll try do it over the weekend, but I'm having some weird HW issues = on my build box so, I'm not sure if it will be possible... Aha, thanks! I've now looked at our sys/auxv.h which has this = functionality. I think I'll work on a patch that can be submitted = upstream. -Dimitry --Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYTH82wAKCRCwXqMKLiCW o+mHAKC1aiRQLFQtL+D6p08Af+KyzVXfTgCdEt62cCk2T7OOmDNqmOjp/sdC5jc= =Qnia -----END PGP SIGNATURE----- --Apple-Mail=_36344DA0-302B-4DA1-A3FB-94D7445AC565--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7359868D-C028-4C8A-9ED6-D2DE8CDF8727>