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

H. J. Lu hjl@lucon.org
Mon May 3 05:18:00 GMT 2004


On Sun, May 02, 2004 at 09:54:03PM -0700, Dan Kegel wrote:
> Sigh.  I've been trying to build
> binutils-2.15.90.0.3 / gcc-3.4.0 / glibc-2.3.2
> for all supported architectures (as a cross from i686-linux),
> and sparc64 is just giving me headaches.  (To be fair,
> m68k and powerpc64 also had trouble, but not quite as much.)
> 
> The latest error, which persists even with binutils straight from cvs, is
> when glibc is trying to build elf/sln statically:
> 
> .../sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/libc.a(dl-reloc.o)(.text+0x4b4):
> In function `elf_machine_load_address.3':
> : undefined reference to `_DYNAMIC'
> collect2: ld returned 1 exit status
> make[2]: *** 
> [.../sparc64-unknown-linux-gnu/gcc-3.4.0-glibc-2.3.2/build-glibc/elf/sln] 
> Error 1
> 

Can you try glibc from CVS? I couldn't find how it could wind up in
dl-reloc.o.


H.J.



More information about the Libc-alpha mailing list