This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: GLIBC: Problems compiling 2.1.2 on i386-linux and powerpc-linux
- To: glibc-linux at ricardo dot ecn dot wfu dot edu
- Subject: Re: GLIBC: Problems compiling 2.1.2 on i386-linux and powerpc-linux
- From: Alex Buell <alex dot buell at tahallah dot demon dot co dot uk>
- Date: Sun, 23 Jan 2000 09:46:54 +0000 (GMT)
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
On Mon, 24 Jan 2000, Brendan John Simon wrote:
> I've just recompiled glibc-2.1.1 and glibc-2.1.2 successfully using
> egcs-1.1.2. Both glibc-2.1.1 and glibc-2.1.2 fail with the same error
> when I try to compile them with gcc-2.95.2. The only thing I can
> think of is that gcc-2.95.2 optimizes out the __libc_global_ctors
> function when linking. I can see that it is there in elf/soinit.os
> when I use nm and/or objdump. Maybe it is a bug in gcc-2.95.2 but I
> doubt it. I'm pretty sure others have compiled (and cross-compiled)
> glibc-2.1.2 with gcc-2.95.2.
Have you ever upgraded your binutils? I'm currently using binutils
2.9.5.0.22, gcc-2.95.2 compiled glibc-2.1.2 and installed it without
problems.
Cheers,
Alex
--
http://www.tahallah.demon.co.uk