This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-19980803 vs glibc-2.0.95


The __P to __PMT change is already checkedin into the mainline branch and
probably will enter the release branch soon. Don't know what's the correct
solution for the pthread problem, but a workaround is to add -D_GNU_SOURCE
to MT_CFLAGS in libio/config/mtsafe.mt

Franz.


At 13:57 05.08.98 , Horst von Brand wrote:
>Note I'm far from being an C++ user, C++ mostly just goes along for the
>ride.
>
>It just won't bootstrap. First I got loads of errors in libio/libioP.h
>(wrong exceptions) that I fixed by following Franz Sirl's advise on
>libc-alpha@sygnus.com to replace __P by __PMT in libio/libioP.h and
>libio/strfile.h. Now it bombs later on:
>
>  /usr/local/src/BUILD/build-egcs-19980803/gcc/xgcc
-B/usr/local/src/BUILD/build-egcs-19980803/gcc/ -c -O2 -fomit-frame-pointer
-march=pentium -fvtable-thunks -fno-implicit-templates -I.
-I../../../egcs-19980803/libio -nostdinc++ -D_IO_MTSAFE_IO -fpic
../../../egcs-19980803/libio/iostream.cc -o pic/iostream.o
>In file included from ../../../egcs-19980803/libio/iostream.cc:33:
>../../../egcs-19980803/libio/libioP.h:294: warning: declaration of
`_IO_seekoff(_IO_FILE *, __off64_t, int, int)' throws different exceptions
>../../../egcs-19980803/libio/libio.h:351: warning: previous declaration here
>../../../egcs-19980803/libio/libioP.h:295: warning: declaration of
`_IO_seekpos(_IO_FILE *, __off64_t, int)' throws different exceptions
>../../../egcs-19980803/libio/libio.h:352: warning: previous declaration here
>../../../egcs-19980803/libio/iostream.cc: In method `class ostream &
ostream::operator <<(char)':
>../../../egcs-19980803/libio/iostream.cc:385:
`_pthread_cleanup_push_defer' undeclared (first use this function)
>../../../egcs-19980803/libio/iostream.cc:385: (Each undeclared identifier
is reported only once
>../../../egcs-19980803/libio/iostream.cc:385: for each function it appears
in.)
>../../../egcs-19980803/libio/iostream.cc:386: confused by earlier errors,
bailing out
>make[2]: *** [iostream.o] Error 1
>make[2]: Leaving directory
`/usr/local/src/BUILD/build-egcs-19980803/i586-redhat-linux/libio'
>make[1]: *** [all-target-libio] Error 2
>make[1]: Leaving directory `/usr/local/src/BUILD/build-egcs-19980803'
>make: *** [bootstrap] Error 2
>-- 
>Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
>Casilla 9G, Viņa del Mar, Chile                               +56 32 672616
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]