This is the mail archive of the glibc-bugs@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]

[Bug nptl/21501] get-dynamic-info assertion incorrectly triggered for i686 on x86_64 : 'Assertion `info[DT_RPATH] == NULL' failed!'


https://sourceware.org/bugzilla/show_bug.cgi?id=21501

--- Comment #4 from Jason Vas Dias <jason.vas.dias at gmail dot com> ---
Created attachment 10056
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10056&action=edit
output from adding '-Wl,--verbose' to command line

Log file from :
$ gcc --verbose  -Wl,--verbose -m32  -nostdlib -nostartfiles -shared -o
/usr/build/linux/glibc-x86/elf/ld.so.new   -Wl,-z,combreloc -Wl,-z,relro
-Wl,--hash-style=both -Wl,-z,defs   /usr/build/linux/glibc-x86/elf/librtld.os
-Wl,--version-script=/usr/build/linux/glibc-x86/ld.map  
-Wl,-soname=ld-linux.so.2   -Wl,-defsym=_begin=0 2>&1   | tee /tmp/ld-v.log

The ld-v.log does not contain any of the strings 
 '-R', '-rpath', LD_RUN_PATH , or lib32, in ways
that would cause any DT_RPATH or DT_RUNPATH setting - see:
 $ egrep -i 'rpath|run_path|\-R|lib32' /tmp/ld-v.log
 ...
nothing that would set the RPATH there.
There are no occurrences of RPATH, RUNPATH or lib32 in the ld.map file.
So where is this empty RPATH coming from ??

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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