Re: (solved) Re: undefined symbol: __aarch64_ldadd8_acq_rel since llvm12 (mongodb44)

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 3 Sep 2021 12:45:47 +0200
On 3 Sep 2021, at 12:02, Michal Meloun <meloun.michal_at_gmail.com> wrote:
> 
> 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
> 
> 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


Received on Fri Sep 03 2021 - 10:45:47 UTC

Original text of this message