This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
libstdc++2.8.1.1 and glibc 2.0.98
- To: Manfred Hollstein <manfred@s-direktnet.de>
- Subject: libstdc++2.8.1.1 and glibc 2.0.98
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 17 Oct 1998 18:22:13 +0200
- Cc: libc-hacker@cygnus.com
Hi Manfred,
following up some complaints I've seen that libstdc++2.8.1.1 doesn't
build with glibc 2.0.98, I decided to look at it myself. The problem
is that glibc 2.0.98 now defines __P as:
# define __P(args) args throw ()
which needs some changes in libstdc++ (e.g. libio/libio.h). For the
necessary details please have a look at the changes which have been
made in egcs for this problem. I could try to provide the patches for
you, if you like to have them but haven't done so since I first want
to get an answer to the following question:
Will libstdc++ be fixed to get compiled under glibc 2.1 (2.0.98 is a
test release of 2.1)? - and when?
Btw. I hope you feel responsible for libstdc++.
Andreas
P.S. here's the first compile failure of libstdc++ on my i486-linux
glibc2 system:
test x"yes" != xyes || \
/opt/gcc-2.8.1/bin/g++ -c -O2 -g -fvtable-thunks -fno-implicit-templates -I. -I../../../libstdc++-2.8.1.1/libio -nostdinc++ -D_IO_MTSAFE_IO -fpic ../../../libstdc++-2.8.1.1/libio/builtinbuf.cc -o pic/builtinbuf.o
In file included from ../../../libstdc++-2.8.1.1/libio/streambuf.h:36,
from ../../../libstdc++-2.8.1.1/libio/builtinbuf.h:32,
from ../../../libstdc++-2.8.1.1/libio/builtinbuf.cc:29:
../../../libstdc++-2.8.1.1/libio/libio.h:270: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libio.h:271: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libio.h:272: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libio.h:273: invalid exception specifications
In file included from ../../../libstdc++-2.8.1.1/libio/iostreamP.h:26,
from ../../../libstdc++-2.8.1.1/libio/builtinbuf.cc:30:
../../../libstdc++-2.8.1.1/libio/libioP.h:94: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:100: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:107: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:119: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:126: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:133: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:143: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:156: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:164: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:170: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:176: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:194: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:201: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:209: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:219: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:226: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:233: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:238: invalid exception specifications
../../../libstdc++-2.8.1.1/libio/libioP.h:453: invalid exception specifications
make[1]: *** [builtinbuf.o] Error 1
make[1]: Leaving directory `/tmp/build-libstdc++/libraries/libio'
make: *** [all-target-libio] Error 2
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de