From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andris Pavenis To: Shing-Gene Yung , egcs@egcs.cygnus.com Subject: Re: glibc-2.1 + egcs -- no go Date: Wed, 10 Mar 1999 10:26:00 -0000 Message-id: <99031020251900.08921@hal> References: X-SW-Source: 1999-03/msg00385.html 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 ) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andris Pavenis To: Shing-Gene Yung , egcs@egcs.cygnus.com Subject: Re: glibc-2.1 + egcs -- no go Date: Wed, 31 Mar 1999 23:46:00 -0000 Message-ID: <99031020251900.08921@hal> References: X-SW-Source: 1999-03n/msg00387.html Message-ID: <19990331234600.k3esA3oi2CuZs4i8n7r4yTKFp9vnub7aI08RwGPktbo@z> 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.