public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: failure on alphaev5-unknown-linux-gnulibc1
@ 1997-11-24 21:07 Trent Jarvi
  0 siblings, 0 replies; 7+ messages in thread
From: Trent Jarvi @ 1997-11-24 21:07 UTC (permalink / raw)
  To: cottons, egcs

I ran into this problem also.

[root@alpha bits]# rpm -q glibc
glibc-2.0.5c-4

The l\bsolution was ln -s /usr/include/libc-lock.h /usr/include/bits/libc-lock.h

Every thing went well after that.

Trent
------------ original message ----------
  In message < 19971124170847.8984.qmail@concmp.com >you write:
  >  >   > In file included from iogetc.c:26:
  >  >   > libioP.h:31: bits/libc-lock.h: No such file or directory
  >  >   > make[2]: *** [iogetc.o] Error 1
  >  >   > make[2]: Leaving directory `/usr/src/egcs-970929/libraries/libio'
  >  >   > make[1]: *** [all-target-libio] Error 2
  >  >   > make[1]: Leaving directory `/usr/src/egcs-970929'
  >  >   > make: *** [bootstrap] Error 2
  >  > I believe this was fixed in the last snapshot.  Can you verify?
  > 
  > I get the same results (failure on libc-lock.h) with egcs 971114.
Then that would indicate that you're using a pre-release of glibc2.

egcs does not work with various pre-release versions of glibc2; note some
systems (particularly Red Hat Linux on the Alpha) include these unsupported
re-release versions of glibc2 in their distributions. 

Unfortunately, you will need to upgrate your C library to an official glibc2
release.  Installing glibc2.0.5c, then rebuilding egcs from scratch should
solve this problem. 

Jeff

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

* Re: failure on alphaev5-unknown-linux-gnulibc1
  1997-11-24  8:23     ` Jeffrey A Law
@ 1997-11-24 12:21       ` Richard Henderson
  0 siblings, 0 replies; 7+ messages in thread
From: Richard Henderson @ 1997-11-24 12:21 UTC (permalink / raw)
  To: law; +Cc: Cotton Seed, egcs

> Unfortunately, you will need to upgrate your C library to an official glibc2
> release.  Installing glibc2.0.5c, then rebuilding egcs from scratch should
> solve this problem. 

It's not so simple for RH/Alpha, for reasons tedious to go into.

In any case, I have posted a small patch that works.  It also apparently
works on the current PPC distribution, which uses the same libc snapshot.

I will repost the patch if you want to look at it again.


r~

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

* Re: failure on alphaev5-unknown-linux-gnulibc1
  1997-11-24  8:04   ` Cotton Seed
@ 1997-11-24  8:23     ` Jeffrey A Law
  1997-11-24 12:21       ` Richard Henderson
  0 siblings, 1 reply; 7+ messages in thread
From: Jeffrey A Law @ 1997-11-24  8:23 UTC (permalink / raw)
  To: Cotton Seed; +Cc: egcs

  In message < 19971124170847.8984.qmail@concmp.com >you write:
  >  >   > In file included from iogetc.c:26:
  >  >   > libioP.h:31: bits/libc-lock.h: No such file or directory
  >  >   > make[2]: *** [iogetc.o] Error 1
  >  >   > make[2]: Leaving directory `/usr/src/egcs-970929/libraries/libio'
  >  >   > make[1]: *** [all-target-libio] Error 2
  >  >   > make[1]: Leaving directory `/usr/src/egcs-970929'
  >  >   > make: *** [bootstrap] Error 2
  >  > I believe this was fixed in the last snapshot.  Can you verify?
  > 
  > I get the same results (failure on libc-lock.h) with egcs 971114.
Then that would indicate that you're using a pre-release of glibc2.

egcs does not work with various pre-release versions of glibc2; note some
systems (particularly Red Hat Linux on the Alpha) include these unsupported
re-release versions of glibc2 in their distributions. 

Unfortunately, you will need to upgrate your C library to an official glibc2
release.  Installing glibc2.0.5c, then rebuilding egcs from scratch should
solve this problem. 

Jeff

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

* Re: failure on alphaev5-unknown-linux-gnulibc1
  1997-10-22 15:33 ` Jeffrey A Law
@ 1997-11-24  8:04   ` Cotton Seed
  1997-11-24  8:23     ` Jeffrey A Law
  0 siblings, 1 reply; 7+ messages in thread
From: Cotton Seed @ 1997-11-24  8:04 UTC (permalink / raw)
  To: law; +Cc: Cotton Seed, egcs

Jeffrey A Law writes:
 >   In message <19971001215616.12232.qmail@concmp.com>you write:
 >   > `./configure; make bootstrap' got me:
 >   > 
 >   > make[2]: Entering directory `/usr/src/egcs-970929/libraries/libio'
 >   > if [ -n "" ] && [ ! -d pic ]; then \
 >   >   mkdir pic; \
 >   > else true; fi
 >   > touch stamp-picdir
 >   > test -z "" ||\
 >   >   /usr/src/egcs-970929/gcc/xgcc -B/usr/src/egcs-970929/gcc/ -c -g -O2 -I. -
 >   > I.   iogetc.c -o pic/iogetc.o
 >   > /usr/src/egcs-970929/gcc/xgcc -B/usr/src/egcs-970929/gcc/ -c -g -O2 -I. -I.
 >   >   iogetc.c
 >   > In file included from iogetc.c:26:
 >   > libioP.h:31: bits/libc-lock.h: No such file or directory
 >   > make[2]: *** [iogetc.o] Error 1
 >   > make[2]: Leaving directory `/usr/src/egcs-970929/libraries/libio'
 >   > make[1]: *** [all-target-libio] Error 2
 >   > make[1]: Leaving directory `/usr/src/egcs-970929'
 >   > make: *** [bootstrap] Error 2
 > I believe this was fixed in the last snapshot.  Can you verify?

I get the same results (failure on libc-lock.h) with egcs 971114.

        - Cotton

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

* Re: failure on alphaev5-unknown-linux-gnulibc1
  1997-10-01 14:53 Cotton Seed
  1997-10-01 23:28 ` Richard Henderson
@ 1997-10-22 15:33 ` Jeffrey A Law
  1997-11-24  8:04   ` Cotton Seed
  1 sibling, 1 reply; 7+ messages in thread
From: Jeffrey A Law @ 1997-10-22 15:33 UTC (permalink / raw)
  To: Cotton Seed; +Cc: egcs

  In message < 19971001215616.12232.qmail@concmp.com >you write:
  > `./configure; make bootstrap' got me:
  > 
  > make[2]: Entering directory `/usr/src/egcs-970929/libraries/libio'
  > if [ -n "" ] && [ ! -d pic ]; then \
  >   mkdir pic; \
  > else true; fi
  > touch stamp-picdir
  > test -z "" ||\
  >   /usr/src/egcs-970929/gcc/xgcc -B/usr/src/egcs-970929/gcc/ -c -g -O2 -I. -
  > I.   iogetc.c -o pic/iogetc.o
  > /usr/src/egcs-970929/gcc/xgcc -B/usr/src/egcs-970929/gcc/ -c -g -O2 -I. -I.
  >   iogetc.c
  > In file included from iogetc.c:26:
  > libioP.h:31: bits/libc-lock.h: No such file or directory
  > make[2]: *** [iogetc.o] Error 1
  > make[2]: Leaving directory `/usr/src/egcs-970929/libraries/libio'
  > make[1]: *** [all-target-libio] Error 2
  > make[1]: Leaving directory `/usr/src/egcs-970929'
  > make: *** [bootstrap] Error 2
I believe this was fixed in the last snapshot.  Can you verify?

jeff

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

* Re: failure on alphaev5-unknown-linux-gnulibc1
  1997-10-01 14:53 Cotton Seed
@ 1997-10-01 23:28 ` Richard Henderson
  1997-10-22 15:33 ` Jeffrey A Law
  1 sibling, 0 replies; 7+ messages in thread
From: Richard Henderson @ 1997-10-01 23:28 UTC (permalink / raw)
  To: Cotton Seed; +Cc: egcs

On Wed, Oct 01, 1997 at 09:56:16PM -0000, Cotton Seed wrote:
> In file included from iogetc.c:26:
> libioP.h:31: bits/libc-lock.h: No such file or directory

Yeah, I believe that Ulrich is still in the process of merging
his current stuff.  At the moment I skip all that nonsense and
just build in the gcc subdirectory.

But the fix will be something along these lines:

#ifdef __GLIBC__
#ifdef __GLIBC_MINOR__ == 0
#include <libc-lock.h>
#else
#include <bits/libc-lock.h>
#endif
#endif


r~

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

* failure on alphaev5-unknown-linux-gnulibc1
@ 1997-10-01 14:53 Cotton Seed
  1997-10-01 23:28 ` Richard Henderson
  1997-10-22 15:33 ` Jeffrey A Law
  0 siblings, 2 replies; 7+ messages in thread
From: Cotton Seed @ 1997-10-01 14:53 UTC (permalink / raw)
  To: egcs

`./configure; make bootstrap' got me:

make[2]: Entering directory `/usr/src/egcs-970929/libraries/libio'
if [ -n "" ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
test -z "" ||\
  /usr/src/egcs-970929/gcc/xgcc -B/usr/src/egcs-970929/gcc/ -c -g -O2 -I. -I.   iogetc.c -o pic/iogetc.o
/usr/src/egcs-970929/gcc/xgcc -B/usr/src/egcs-970929/gcc/ -c -g -O2 -I. -I.  iogetc.c
In file included from iogetc.c:26:
libioP.h:31: bits/libc-lock.h: No such file or directory
make[2]: *** [iogetc.o] Error 1
make[2]: Leaving directory `/usr/src/egcs-970929/libraries/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/usr/src/egcs-970929'
make: *** [bootstrap] Error 2

        - Cotton

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

end of thread, other threads:[~1997-11-24 21:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-24 21:07 failure on alphaev5-unknown-linux-gnulibc1 Trent Jarvi
  -- strict thread matches above, loose matches on Subject: below --
1997-10-01 14:53 Cotton Seed
1997-10-01 23:28 ` Richard Henderson
1997-10-22 15:33 ` Jeffrey A Law
1997-11-24  8:04   ` Cotton Seed
1997-11-24  8:23     ` Jeffrey A Law
1997-11-24 12:21       ` Richard Henderson

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