[PATCH roland/ehdr_start] Use __ehdr_start, when available, for rtld to get its own headers.
Roland McGrath
roland@hack.frob.com
Mon Mar 24 22:30:00 GMT 2014
> this breaks on ia64 w/binutils-2.23.2. using gcc-4.7.3 in case it matters.
Sorry about that. But I think you're going to have to do most of the
legwork on investigating what's going wrong here, as I do not have any ia64
worlds to test on.
It seems fairly certain that this must be binutils (ld) bugs. Since ld.so
is linked with -z defs, it should not have gotten out alive with an
undefined symbol. What does its .dynsym from readelf -W -s look like?
Does adding -Wl,-z,defs to LDFLAGS in the configure check make it fail?
(I'm guessing not, since the link of ld.so didn't fail.)
Probably we can find a way to detect the bug with readelf -r.
Send me your binary and or readelf -WSsr output so I can fiddle.
Thanks,
Roland
More information about the Libc-alpha
mailing list