This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ld "FAIL: bootstrap with --static" --> recent Glibc's
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Greg Schafer <gschafer at zip dot com dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 22 Oct 2003 08:11:30 -0700
- Subject: Re: ld "FAIL: bootstrap with --static" --> recent Glibc's
- References: <20031022072925.GA17269@tigers-lfs.nsw.bigpond.net.au>
Can you tell on which platform you see this problem? If it is not
Linux/ia64, --static may not work at all since the current static
dl_iterate_phdr is a dummy on none-ia64 Linux platforms.
H.J.
----
On Wed, Oct 22, 2003 at 05:29:25PM +1000, Greg Schafer wrote:
> Hi
>
> Recent Glibc's require a different method for linking statically. Details
> are here:
>
> http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00799.html
>
> The problem is that ld now fails the --static bootstrap test:
>
>
> In function `_Unwind_Find_FDE':
> : undefined reference to `dl_iterate_phdr'
> FAIL: bootstrap with --static
>
>
> Dunno what the correct fix is. Possibly tweaking $HOSTING_LIBS or even
> bootstrap.exp.
Probably.
H.J.