trouble building glibc-2.3.2/gcc-3.4.0/sparc64 with cvs binutils

Alan Modra amodra@bigpond.net.au
Sun May 2 23:47:00 GMT 2004


On Sun, May 02, 2004 at 04:15:16PM -0700, Dan Kegel wrote:
[snip]
> + sparc64-unknown-linux-gnu-gcc -v -nostdlib -nostartfiles -static -o 
[snip]
> : undefined reference to `_DYNAMIC'

glibc makefile bug, I'd say.  _DYNAMIC won't be defined unless there is
in fact a dynamic section, and you asked gcc to do a static link.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list