This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: libstdc++2.8.1.1 and glibc 2.0.98
- To: aj@arthur.rhein-neckar.de
- Subject: Re: libstdc++2.8.1.1 and glibc 2.0.98
- From: Manfred Hollstein <manfred@s-direktnet.de>
- Date: Sat, 17 Oct 1998 18:59:36 +0200 (MEST)
- Cc: libc-hacker@cygnus.com
- References: <u8zpavgnuy.fsf@arthur.rhein-neckar.de>
- Reply-To: manfred@s-direktnet.de, Manfred.Hollstein@ks.sel.alcatel.de
Hi Andreas!
Thanks for your bug report.
On nil, 17 October 1998, 18:22:13, aj@arthur.rhein-neckar.de wrote:
>
> 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?
Well, I've actually (mostly) copied pre-egcs-1.0.3a's libstdc++ and hacked it
somewhat to get a working version for gcc-2.8.1; so, it shouldn't be too
difficult, to add the changes you've mentioned, too.
Unfortunately, I'm nearly off-line until 21st of Oct., hence I'll only be
able to create the changes afterwards. Since I don't have glibc 2.0.98
around here, may I send them to you and you'll then tell me, if they work OK?
>
> Btw. I hope you feel responsible for libstdc++.
Well, I feel myself mostly as the "packager", the actual development is done
by SGI and egcs' developers.
>
> 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
>
Later,
manfred