This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LD_HWCAP_MASK failure with tst-env-setuid


On Monday 22 May 2017 06:48 PM, Adhemerval Zanella wrote:
> Hi Siddhesh, unfortunately the test is still failing on my x86_64 system
> with LD_HWCAP_MASK=0xffffffff.  I used you latest tunable patchset [1]
> applies on top of master (402bf0695218bbe290418b9486b1dd5fe284d903) and
> configure with:
> 
> --host=x86_64-linux-gnu --build=x86_64-linux-gnu --enable-add-ons=libidn
> --without-selinux --enable-stackguard-randomization --enable-obsolete-rpc
> --enable-systemtap --enable-multi-arch --enable-lock-elision --enable-tunables
> 
> However I am only seeing this issue on x86_64, aarch64 does not bail out
> with 'cannot create capability list: Cannot allocate memory'.
> 
> And using you analysis I tried to install the built glibc on a sysroot
> and neither the 'bin/true' or the 'tst-env-setuid' failed with 
> LD_HWCAP_MASK=0xffffffff.  So I think for BZ#21391 indeed fixed and your
> suggestion about installed glibc messing up with the testing still
> worries me.  I think what might be happening in fact is static linked
> binaries are still relying on ld.so.cache on some internal calculation,
> which I think it is not the intended behaviour.  I will try spend some
> time figuring out why this is still fails on my system.

OK I've found a box that exhibits this too and it is happening only with
my patchset and not without.  Let me dig as well.

Siddhesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]