This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Static Compilation of GCC 3.2 fails


Redhat 8.0 stock glibc 2.93 gcc 3.2 binutils 2.13.90.0.2

Current:
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux --with-system-zlib
--enable-__cxa_atexit
Thread model: posix
gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)


../gcc-3.2/configure --prefix=/static --enable-__cxa_atexit \
   --disable-checking --disable-nls --disable-shared &&
echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
make BOOT_LDFLAGS=-static bootstrap &&
make prefix=$LFS/static install &&
ln -s gcc $LFS/static/bin/cc


Fails with:

In file included from
../../../../gcc-3.2/libstdc++-v3/src/locale.cc:406:
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i68
6-pc-linux-gnu/bits/ctype_noninline.h: In
   static member function `static const short unsigned int*
   std::ctype<char>::classic_table()':
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i68
6-pc-linux-gnu/bits/ctype_noninline.h:45: `
   __ctype_b' undeclared (first use this function)
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i68
6-pc-linux-gnu/bits/ctype_noninline.h:45: (Each
   undeclared identifier is reported only once for each function it
appears
   in.)
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i68
6-pc-linux-gnu/bits/ctype_noninline.h: In
   constructor `std::ctype<char>::ctype(int*, const short unsigned int*,
bool,
   unsigned int)':
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i68
6-pc-linux-gnu/bits/ctype_noninline.h:61: `
   __ctype_toupper' undeclared (first use this function)
/mnt/lfs/static/src/gcc-build/i686-pc-linux-gnu/libstdc++-v3/include/i68
6-pc-linux-gnu/bits/ctype_noninline.h:61: `
   __ctype_tolower' undeclared (first use this function)


Chip
My opinions are meant to annoy and offend you! HAHAHA
Retarded monkey say: love in circle is not square.




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