This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Error Compiling gcc 4.3.1 on AIX 4.3.3
- From: "McGarry, Simon" <SMcGarry at acadinfo dot co dot uk>
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 16 Aug 2004 12:01:58 +0100
- Subject: Error Compiling gcc 4.3.1 on AIX 4.3.3
Hi all,
I've run a Configure and then make bootstrap with LDFLAGS set to
"-Wl,-bbigtoc" in the Makefile. These ran successfully but when I did a make
install I got the following errors:
/bin/sh ../libtool --tag CXX --mode=link /usr/gnu/smc/src/build-gcc/gcc/xgcc
-shared-libgcc -B/usr/gnu/smc/src/build-gcc/gcc/ -nostdinc++
-L/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/src
-L/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/src
/.libs -B/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/bin/
-B/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/lib/ -isystem
/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/include -isystem
/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/sys-include -pthread -Wl,-O1 -Wl,-G
-fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -pthread -o libstdc++.la -rpath
/usr/gnu/smc/lib/pthread -version-info 6:1:0
-Wl,--version-script=libstdc++-symbol.ver -lm allocator.lo codecvt.lo
complex_io.lo ctype.lo debug.lo debug_list.lo functexcept.lo
globals_locale.lo globals_io.lo ios.lo ios_failure.lo ios_init.lo
ios_locale.lo limits.lo list.lo locale.lo locale_init.lo locale_facets.lo
localename.lo stdexcept.lo strstream.lo tree.lo allocator-inst.lo
concept-inst.lo fstream-inst.lo ext-inst.lo io-inst.lo istream-inst.lo
locale-inst.lo locale-misc-inst.lo misc-inst.lo ostream-inst.lo
sstream-inst.lo streambuf-inst.lo string-inst.lo valarray-inst.lo
wlocale-inst.lo wstring-inst.lo atomicity.lo codecvt_members.lo
collate_members.lo ctype_members.lo messages_members.lo monetary_members.lo
numeric_members.lo time_members.lo basic_file.lo c++locale.lo
../libmath/libmath.la ../libsupc++/libsupc++convenience.la -lm
generating symbol list for `libstdc++.la'
/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/bin/nm -B -X32_64 -Bpg
.libs/allocator.o .libs/codecvt.o .libs/complex_io.o .libs/ctype.o
.libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_locale.o
.libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o
.libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o
.libs/locale_init.o .libs/locale_facets.o .libs/localename.o
.libs/stdexcept.o .libs/strstream.o .libs/tree.o .libs/allocator-inst.o
.libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/io-inst.o
.libs/istream-inst.o .libs/locale-inst.o .libs/locale-misc-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/string-inst.o .libs/valarray-inst.o
.libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o
.libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o
.libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o
.libs/time_members.o .libs/basic_file.o .libs/c++locale.o
../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a | awk
'{ if ((($2 == "T") || ($2 == "D") || ($2 == "B")) && (substr($3,1,1) !=
".")) { print $3 } }' | sort -u > .libs/libstdc++.exp
/usr/gnu/smc/src/build-gcc/gcc/xgcc -shared-libgcc
-B/usr/gnu/smc/src/build-gcc/gcc/ -nostdinc++
-L/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/src
-L/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/src
/.libs -B/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/bin/
-B/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/lib/ -isystem
/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/include -isystem
/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/sys-include -pthread -shared -o
.libs/libstdc++.so.6 .libs/allocator.o .libs/codecvt.o .libs/complex_io.o
.libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/functexcept.o
.libs/globals_locale.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o
.libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o
.libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o
.libs/stdexcept.o .libs/strstream.o .libs/tree.o .libs/allocator-inst.o
.libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/io-inst.o
.libs/istream-inst.o .libs/locale-inst.o .libs/locale-misc-inst.o
.libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o
.libs/streambuf-inst.o .libs/string-inst.o .libs/valarray-inst.o
.libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o
.libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o
.libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o
.libs/time_members.o .libs/basic_file.o .libs/c++locale.o
-L/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/src
-L/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/src
/.libs -lm ../libmath/.libs/libmath.a -lm
../libsupc++/.libs/libsupc++convenience.a -lm
-L/usr/gnu/smc/src/build-gcc/gcc/pthread -L/usr/gnu/smc/src/build-gcc/gcc
-L/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/bin
-L/usr/gnu/smc/powerpc-ibm-aix4.3.3.0/lib
-L/usr/gnu/smc/lib/../powerpc-ibm-aix4.3.3.0/lib -L/usr/gnu/smc/lib
-lgcc_s_pthread -L/usr/lib/threads -lpthreads -lc_r -lgcc_s_pthread -lm
-lgcc_s_pthread -lpthreads -lc_r -lgcc_s_pthread -lc -Wl,-O1 -Wl,-G
-Wl,--version-script=libstdc++-symbol.ver -Wl,-bE:.libs/libstdc++.exp
-Wl,-bnoentry ${wl}-berok
.libs/codecvt.o(.tc+0x0):/usr/gnu/smc/src/gcc-3.4.1/libstdc++-v3/src/codecvt
.cc: undefined reference to `vtable for
std::__codecvt_abstract_base<wchar_t, char, char*>'
.libs/codecvt.o(.tc+0x0):/usr/gnu/smc/src/gcc-3.4.1/libstdc++-v3/src/codecvt
.cc: undefined reference to `vtable for std::__codecvt_abstract_base<char,
char, char*>'
.libs/codecvt.o(.rw+0x2c):/usr/gnu/smc/src/gcc-3.4.1/libstdc++-v3/src/codecv
t.cc: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
.libs/codecvt.o(.rw+0x34):/usr/gnu/smc/src/gcc-3.4.1/libstdc++-v3/src/codecv
t.cc: undefined reference to `typeinfo for
std::__codecvt_abstract_base<char, char, char*>'
.libs/codecvt.o(.rw+0x64):/usr/gnu/smc/src/gcc-3.4.1/libstdc++-v3/src/codecv
t.cc: undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
.libs/codecvt.o(.rw+0x6c):/usr/gnu/smc/src/gcc-3.4.1/libstdc++-v3/src/codecv
t.cc: undefined reference to `typeinfo for
std::__codecvt_abstract_base<wchar_t, char, char*>'
.libs/complex_io.o(.pr+0x20): In function `.std::basic_istream<char,
std::char_traits<char> >& std::operator>><long double, char,
std::char_traits<char> >(std::basic_istream<char, std::char_traits<char> >&,
std::complex<long double>&)':
------ SNIP
There were a huge amout of "undefined reference to" errors, it eventually
failed with:
collect2: ld returned 1 exit status
make[4]: *** [abi_check] Error 1
make[4]: Leaving directory
`/_/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3/te
stsuite'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/_/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/pthread/libstdc++-v3'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory
`/_/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/libstdc++-v3'
make[1]: *** [install-multi] Error 2
make[1]: Leaving directory
`/_/usr/gnu/smc/src/build-gcc/powerpc-ibm-aix4.3.3.0/libstdc++-v3'
make: *** [install-target-libstdc++-v3] Error 2
Can anyone offer some help?
Thanks
Simon McGarry
Technical Consultant
Capita Software Services
0870 1631834
simon.mcgarry@capita.co.uk
---------------------------------------------------------------------
This Email is confidential and may also be privileged. If you are not the
intended recipient, please notify the sender IMMEDIATELY; you should not
copy the email or use it for any purpose or disclose its contents to any
other person.
Any statements made, or intentions expressed in this communication may not
necessarily reflect the view of the Capita Group and that the content herein
may not be held binding upon the Capita Group or any associated company.
----------------------------------------------------------------------