This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: DL_HWCAP_MASK and static binaries
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Siddhesh Poyarekar <siddhesh at gotplt dot org>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Wed, 1 Mar 2017 14:03:14 -0500
- Subject: Re: DL_HWCAP_MASK and static binaries
- Authentication-results: sourceware.org; auth=none
- References: <69af98ad-7785-592f-4428-56a665dc5d4b@gotplt.org>
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.