public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* glibc-2.1 + egcs -- no go
@ 1999-03-10  8:18 Shing-Gene Yung
  1999-03-10 10:26 ` Andris Pavenis
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Shing-Gene Yung @ 1999-03-10  8:18 UTC (permalink / raw)
  To: egcs

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.

thanks,
--shing


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc-2.1 + egcs -- no go
  1999-03-10  8:18 glibc-2.1 + egcs -- no go Shing-Gene Yung
@ 1999-03-10 10:26 ` Andris Pavenis
  1999-03-31 23:46   ` Andris Pavenis
  1999-03-10 11:29 ` Andreas Jaeger
  1999-03-31 23:46 ` Shing-Gene Yung
  2 siblings, 1 reply; 8+ messages in thread
From: Andris Pavenis @ 1999-03-10 10:26 UTC (permalink / raw)
  To: Shing-Gene Yung, egcs

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 )

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc-2.1 + egcs -- no go
  1999-03-10  8:18 glibc-2.1 + egcs -- no go Shing-Gene Yung
  1999-03-10 10:26 ` Andris Pavenis
@ 1999-03-10 11:29 ` Andreas Jaeger
       [not found]   ` < u8vhg98d3l.fsf@arthur.rhein-neckar.de >
  1999-03-31 23:46   ` Andreas Jaeger
  1999-03-31 23:46 ` Shing-Gene Yung
  2 siblings, 2 replies; 8+ messages in thread
From: Andreas Jaeger @ 1999-03-10 11:29 UTC (permalink / raw)
  To: Shing-Gene Yung; +Cc: egcs

>>>>> Shing-Gene Yung writes:

 > 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?
You forgot the first step;-).  Read the FAQ that comes with glibc
2.1, especially question 2.7:
2.7.    Looking through the shared libc file I haven't found the
        functions `stat', `lstat', `fstat', and `mknod' and while
        linking on my Linux system I get error messages.  How is
        this supposed to work?

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc-2.1 + egcs -- no go
       [not found]   ` < u8vhg98d3l.fsf@arthur.rhein-neckar.de >
@ 1999-03-10 17:54     ` Shing-Gene Yung
  1999-03-31 23:46       ` Shing-Gene Yung
  0 siblings, 1 reply; 8+ messages in thread
From: Shing-Gene Yung @ 1999-03-10 17:54 UTC (permalink / raw)
  To: egcs

yes, I did read through the FAQ and saw that entry. I've checked
/usr/lib/libc.so and it does have that "group". So I'm at a loss at what
to do next.

thanks,
--shing


On 10 Mar 1999, Andreas Jaeger wrote:

> >>>>> Shing-Gene Yung writes:
> 
>  > 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?
> You forgot the first step;-).  Read the FAQ that comes with glibc
> 2.1, especially question 2.7:
> 2.7.    Looking through the shared libc file I haven't found the
>         functions `stat', `lstat', `fstat', and `mknod' and while
>         linking on my Linux system I get error messages.  How is
>         this supposed to work?
> 
> -- 
>  Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
>   for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de
> 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc-2.1 + egcs -- no go
  1999-03-10 11:29 ` Andreas Jaeger
       [not found]   ` < u8vhg98d3l.fsf@arthur.rhein-neckar.de >
@ 1999-03-31 23:46   ` Andreas Jaeger
  1 sibling, 0 replies; 8+ messages in thread
From: Andreas Jaeger @ 1999-03-31 23:46 UTC (permalink / raw)
  To: Shing-Gene Yung; +Cc: egcs

>>>>> Shing-Gene Yung writes:

 > 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?
You forgot the first step;-).  Read the FAQ that comes with glibc
2.1, especially question 2.7:
2.7.    Looking through the shared libc file I haven't found the
        functions `stat', `lstat', `fstat', and `mknod' and while
        linking on my Linux system I get error messages.  How is
        this supposed to work?

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de

^ permalink raw reply	[flat|nested] 8+ messages in thread

* glibc-2.1 + egcs -- no go
  1999-03-10  8:18 glibc-2.1 + egcs -- no go Shing-Gene Yung
  1999-03-10 10:26 ` Andris Pavenis
  1999-03-10 11:29 ` Andreas Jaeger
@ 1999-03-31 23:46 ` Shing-Gene Yung
  2 siblings, 0 replies; 8+ messages in thread
From: Shing-Gene Yung @ 1999-03-31 23:46 UTC (permalink / raw)
  To: egcs

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.

thanks,
--shing



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc-2.1 + egcs -- no go
  1999-03-10 17:54     ` Shing-Gene Yung
@ 1999-03-31 23:46       ` Shing-Gene Yung
  0 siblings, 0 replies; 8+ messages in thread
From: Shing-Gene Yung @ 1999-03-31 23:46 UTC (permalink / raw)
  To: egcs

yes, I did read through the FAQ and saw that entry. I've checked
/usr/lib/libc.so and it does have that "group". So I'm at a loss at what
to do next.

thanks,
--shing


On 10 Mar 1999, Andreas Jaeger wrote:

> >>>>> Shing-Gene Yung writes:
> 
>  > 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?
> You forgot the first step;-).  Read the FAQ that comes with glibc
> 2.1, especially question 2.7:
> 2.7.    Looking through the shared libc file I haven't found the
>         functions `stat', `lstat', `fstat', and `mknod' and while
>         linking on my Linux system I get error messages.  How is
>         this supposed to work?
> 
> -- 
>  Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
>   for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc-2.1 + egcs -- no go
  1999-03-10 10:26 ` Andris Pavenis
@ 1999-03-31 23:46   ` Andris Pavenis
  0 siblings, 0 replies; 8+ messages in thread
From: Andris Pavenis @ 1999-03-31 23:46 UTC (permalink / raw)
  To: Shing-Gene Yung, egcs

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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-03-31 23:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-10  8:18 glibc-2.1 + egcs -- no go Shing-Gene Yung
1999-03-10 10:26 ` Andris Pavenis
1999-03-31 23:46   ` Andris Pavenis
1999-03-10 11:29 ` Andreas Jaeger
     [not found]   ` < u8vhg98d3l.fsf@arthur.rhein-neckar.de >
1999-03-10 17:54     ` Shing-Gene Yung
1999-03-31 23:46       ` Shing-Gene Yung
1999-03-31 23:46   ` Andreas Jaeger
1999-03-31 23:46 ` Shing-Gene Yung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).