DL_HWCAP_MASK and static binaries

Carlos O'Donell carlos@redhat.com
Wed Mar 1 19:03:00 GMT 2017


On 03/01/2017 04:04 AM, Siddhesh Poyarekar wrote:
> Hi,
> 
> I was working on getting the DL_HWCAP_MASK variable into tunables and I
> noticed that it is not available for static binaries.  We had thought of
> using DL_HWCAP_MASK to mask out HWCAP_CPUID in aarch64 for testing and
> turns out it will be ineffective on static binaries since DL_HWCAP_MASK
> is ignored.
> 
> Does anybody know why DL_HWCAP_MASK is ignored for static binaries?

I think you mean LD_HWCAP_MASK.

Static binaries should be as close to dynamic binaries as possible.

Please just fix the issue. I'm happy to review.

-- 
Cheers,
Carlos.



More information about the Libc-alpha mailing list