ld "FAIL: bootstrap with --static" --> recent Glibc's

H. J. Lu hjl@lucon.org
Wed Oct 22 15:11:00 GMT 2003
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.



More information about the Binutils mailing list