This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: trouble building glibc-2.3.2/gcc-3.4.0/sparc64 with cvs binutils
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Dan Kegel <dank at kegel dot com>
- Cc: GNU C Library <libc-alpha at sources dot redhat dot com>, vanl at megsinet dot net
- Date: Sun, 2 May 2004 22:18:25 -0700
- Subject: Re: trouble building glibc-2.3.2/gcc-3.4.0/sparc64 with cvs binutils
- References: <4095D06B.7090708@kegel.com>
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.