On Tue, Oct 13, 2026 at 7:52 AM Niels Möller nisse@lysator.liu.se wrote:
Maamoun TK maamoun.tk@googlemail.com writes:
I ran into this bug when I deployed the library on ARM environment, have you got the chance to debug the issue?
I would like to understand what the problem is. Can you confirm that elf_aux_val clobbers its output on error, or otherwise explain why hwcap doesn't stay zero?
To repeat, it is initialized to zero, and my expectation is that it is changed to non-zero only when elf_aux_info (or getauxval or sysctlbyname) successfully retrieves the attribute.
Just so I understand, you want to implement a helper function that directly calls elf_aux_info and temporarily holds hwcap value?
Regards, /Niels
-- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance.