Newbie: Patching gcc, libstdc++ build problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use *exactly*  gcc 3.1 but I'm getting some build errors
trying to build it.  I'm sure this has either been patched or is user error.
I tried to download first the tarball, then using CVS under the
gcc-3_1_1_release tag, which I learned gave me the same version, rather than
the latest patched 3.1.1 like I'd hoped.  How can I either, get all the
necessary patches, while still using 3.1, or otherwise fix the problem?

Note that I'd prefer to do a cvs update rather than getting patches from
mailing lists, because it would be closer to being "blessed".

In case you don't read the rest of this, thanks in advance,
Ben P



I think the patch might be at:
http://gcc.gnu.org/ml/gcc-patches/2002-09/msg00024.html

gcc --version
gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The failing compilation command is:
/opt/gcc-3.1.1-obj/gcc/xgcc -shared-libgcc -B/opt/gcc-3.1.1-obj/gcc/ -nostdi
nc++ -L/opt/gcc-3.1.1-obj/i686-pc-linux-gnu/libstdc++-v3/src -L/opt/gcc-3.1.
1-obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/opt/gcc-3.1.1-install/i686
-pc-linux-gnu/bin/ -B/opt/gcc-3.1.1-install/i686-pc-linux-gnu/lib/ -isystem
/opt/gcc-3.1.1-install/i686-pc-linux-gnu/include -nostdinc++ -I/opt/gcc-3.1.
1-obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/opt/gcc-3.
1.1-obj/i686-pc-linux-gnu/libstdc++-v3/include -I/home/bpracht/packages/gcc/
gcc-3.1.1/libstdc++-v3/libsupc++ -I/home/bpracht/packages/gcc/gcc-3.1.1/libs
tdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-for
mat -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-
sections -fdata-sections -g -c
/home/bpracht/packages/gcc/gcc-3.1.1/libstdc++-v3/src/locale.cc  -fPIC -DPIC
 -o .libs/locale.o


Which fails with:
In file included from
/home/bpracht/packages/gcc/gcc-3.1.1/libstdc++-v3/src/locale.cc:406:
/opt/gcc-3.1.1-obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/
bits/ctype_noninline.h: In
static member function `static const short unsigned int*
std::ctype<char>::classic_table()':
/opt/gcc-3.1.1-obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu/
bits/ctype_noninline.h:45: `
__ctype_b' undeclared (first use this function)


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux