Re: Errors compiling glibc for cross-compilation
On Sun, Jul 16, 2000 at 04:25:35PM +0200, Daniel Wagner wrote:
> Hi Seth!
> > /gnome-source/build.glibc/libc.so.0.2
> > /gnome-source/build.glibc/libc_nonshared.a -lgcc `i586-pc-gnu-gcc
> > --print-file-name=crtend.o` /gnome-source/build.glibc/csu/crtn.o
> > /gnome-source/build.glibc/elf/ld.so.1: undefined reference to
> > `__libc_global_ctors'
> > collect2: ld returned 1 exit status
> I remember having the same error. I think it's because you don't use
> binutils-188.8.131.52.22. The newer version won't work now, there's bug.
Mark Kettenis fixed this by now (thanks Mark). Check if your binutils has
the following change:
2000-08-15 Mark Kettenis <email@example.com>
* sysdeps/mach/hurd/dl-sysdep.c (__libc_multiple_libcs):
Initialize, needed for change in common symbol handling in newer
binutils. Mirrors 2000-01-03 change made by Andreas Schwab.
Thanks Daniel for pointing us to the problem, and for your offer to
investigate this. This message is to let you know that it is resolved.
`Rhubarb is no Egyptian god.' Debian http://www.debian.org Check Key server
Marcus Brinkmann GNU http://www.gnu.org for public PGP Key
Marcus.Brinkmann@ruhr-uni-bochum.de, firstname.lastname@example.org PGP Key ID 36E7CD09