This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: glibc-2.1 + egcs -- no go



On Wed, 10 Mar 1999, Shing-Gene Yung wrote:
>Hi,
>I've managed to compile and install glibc-2.1 (from the rawhide dist)
>using egcs-1.1.2-pre3...no errors. But when I try to rebuild
>egcs-1.1.2pre3 or even just egcs-1.1.1, the make bootstrap fails with
>undefined reference to fstat, stat, etc. What's the next step?
>
>RH5.2, kernel 2.2.3.
>

I'm trying to build egcs-1.1.2-pre3 on glibc-2.1 based system (sometime
earlier it was Slackware-3.6, but I upgraded to glibc-2.1 about a month ago).
Seems that there are no problems to build egcs (previous compiler - 
egcs-1.1.1 with patches from H.J.Lu). Currently as is Ok up to stage3.

From Your problems I can suspect broken glibc-2.1 installation:

Question: what is Your  libc.so:  if it is simply symbolic link than
	   that's wrong as it should be linker script.

Make also sure You have only one libc.so.

Andris

I have following /usr/lib/libc.so

/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )