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


Alex Buell wrote:

> 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.

I'm using binutils-2.9.5 (that's not exactly true, I'm using
binutils-20000110 from the main branch of the cvs repository).  This is
only for powerpc-linux at the moment.  I haven't upgraded my native ix86
binutils.  I might give that a go.

BTW, how does one get binutils-2.9.5.0.22 ?  Are there snapshots available
or must one go through cvs ?

Thanks,
Brendan Simon.



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