This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GLIBC: Problems compiling 2.1.2 on i386-linux and powerpc-linux


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]