This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
please patch gcc-3.2.1 tree for glibc-2.3 [PATCH] Fix libstdc++usage of __ctype_b/__ctype_to*
- From: Kaoru Fukui <k_fukui at highway dot ne dot jp>
- To: Benjamin Kosnik <bkoz at redhat dot com>, Jeff Chua <jchua at fedex dot com>
- Cc: gcc at gcc dot gnu dot org, Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 6 Sep 2002 16:46:16 +0900 (JST)
- Subject: please patch gcc-3.2.1 tree for glibc-2.3 [PATCH] Fix libstdc++usage of __ctype_b/__ctype_to*
Hi!
Current tree of gcc-3.2.1 is not able to bootstrap on glibc-2.3.
Please patch jakub's Fix
http://gcc.gnu.org/ml/gcc-patches/2002-09/msg00024.html
The patch solved the problem.
Kaoru
-------------------------------
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/gcc/xgcc -shared-libgcc -B/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/gcc/ -nostdinc++ -L/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/src -L/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/powerpc-unknown-linux-gnu/bin/ -B/usr/powerpc-unknown-linux-gnu/lib/ -isystem /usr/powerpc-unknown-linux-gnu/include -nostdinc++ -I/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/include -I../../../../libstdc++-v3/libsupc++ -I../../../../libstdc++-v3/libmath -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c ../!
../../../libstdc++-v3/src/locale.cc -fPIC -DPIC -o .libs/locale.o
In file included from ../../../../libstdc++-v3/src/locale.cc:414:
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu/bits/ctype_noninline.h: In
static member function `static const short unsigned int*
std::ctype<char>::classic_table()':
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu/bits/ctype_noninline.h:45: `
__ctype_b' undeclared (first use this function)
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-li
nux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu/bits/ctype_noninline.h:45
: (Each
undeclared identifier is reported only once for each function it appears
in.)
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-li
nux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu/bits/ctype_noninline.h: I
n
constructor `std::ctype<char>::ctype(const short unsigned int*, bool,
unsigned int)':
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-li
nux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu/bits/ctype_noninline.h:68
: `
__ctype_toupper' undeclared (first use this function)
/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-linux-gnu/powerpc-unknown-li
nux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu/bits/ctype_noninline.h:68
: `
__ctype_tolower' undeclared (first use this function)
make[2]: *** [locale.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-
linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-
linux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3'
make: *** [all-recursive-am] Error 2
make: Leaving directory `/usr/src/redhat/BUILD/gcc-3.2.1/obj-powerpc-unknown-lin
ux-gnu/powerpc-unknown-linux-gnu/libstdc++-v3'
error: Bad exit status from /var/tmp/rpm-tmp.80269 (%install)