This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH roland/ehdr_start] Use __ehdr_start, when available, for rtld to get its own headers.
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 24 Mar 2014 15:30:33 -0700 (PDT)
- Subject: Re: [PATCH roland/ehdr_start] Use __ehdr_start, when available, for rtld to get its own headers.
- Authentication-results: sourceware.org; auth=none
- References: <20140311222933 dot CC24274474 at topped-with-meat dot com> <2752227 dot JD6R8krL4D at vapier>
> 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