[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: glibc 2.23 testsuite issues on hppa



On 2016-07-02, at 11:34 AM, Aurelien Jarno wrote:

>> dave@mx3210:~/gnu/glibc/objdir/nptl$ ldd ./tst-cancel9
>> 	libpthread.so.0 => /lib/hppa-linux-gnu/libpthread.so.0 (0xfd4d8000)
>> 	libc.so.6 => /lib/hppa-linux-gnu/libc.so.6 (0xfd2df000)
>> 	/lib/ld.so.1 (0x41000000)
> 
> Do you think that the test is not run correctly and uses part of the
> glibc from the host system?

I just remembered that cancellation involves loading libgcc to do the unwind.  It also
depends on libc.so.6:

dave@mx3210:~/gnu/gcc/objdir/hppa-linux-gnu/libgcc$ ldd libgcc_s.so.4
        libc.so.6 => /lib/hppa-linux-gnu/libc.so.6 (0xfcedf000)
        /lib/ld.so.1 (0x41000000)

So, there's some possibility that the dynamic loader messes up when not using the
default LD_LIBRARY_PATH.

The unwind works okay for a few steps back.  It suggests the unwind is on wrong stack,
or child stack wasn't hooked correctly to unwind.

Dave
--
John David Anglin	dave.anglin@bell.net




Reply to: