BUG SQUARED: Gnats bug database down and egcs-1.1.2 w/linuxthreads

Andreas Jaeger aj@arthur.rhein-neckar.de
Mon Apr 19 11:11:00 GMT 1999


>>>>> Sampo Kellomaki writes:

 > The web interface to gnats bug database appears to be down. I tried
 > accessing

 > 	http://www-gnats.gnu.org:8080/cgi-bin/wwwgnats.pl
That's a known problem, and there's nothing we can do now.

 > as suggested in BUGS file of glibc-2.1.1 and it gave Internal Server
 > Error. I tried this today (monday 19.4.1999) as well as last friday.
 > My browser is Netscape 4.07 on Linux X11.

 > What alternative methods of accessing gnats exist? Is it mirrored
 > somewhere?
None. No.

 > The bug I have has to do with linuxthreads support and egcs libg++.

 > I have already compiled and installed

 > 	glibc-2.1.1pre1
 > 	glibc-crypt-2.1
 > 	glibc-linuxthreads-2.1

 > I'm attempting to compile following:

 > 	egcs-1.1.2

 > make[2]: Entering directory `/home/src/egcs-build/i686-pc-linux-gnu/libio'
 > test x"yes" != xyes || \
 >   /usr/src/egcs-build/gcc/xgcc -B/usr/src/egcs-build/gcc/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../egcs-1.1.2/libio -nostdinc++ -D_IO_MTSAFE_IO -fpic ../../../egcs-1.1.2/libio/iostream.cc -o pic/iostream.o
 > In file included from /usr/include/unistd.h:175,
 >                  from ../../../egcs-1.1.2/libio/libioP.h:473,
 >                  from ../../../egcs-1.1.2/libio/iostream.cc:33:
 > /usr/include/bits/posix_opt.h:76: warning: `_POSIX_THREADS' redefined
 > /usr/include/pthread.h:9: warning: this is the location of the previous definition
The pthread.h that comes with glibc 2/2.1 doesn't defined
_POSIX_THREADS  but the pthread.h from libc5 does.  You've managed to
put a libc5 pthread.h in /usr/include.  Please reinstall to
/usr/include the glibc 2.1 header files.

Mixing libc5 and glibc2 headers can lead to all sort of interesting behaviour.

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


More information about the Gcc-bugs mailing list