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: [PATCH roland/ehdr_start] Use __ehdr_start, when available, for rtld to get its own headers.


> 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


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