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]

Gcc bootstrap errors


Hello,

It seems that for some time (a couple of snapshots) it is
getting impossible to boostrap gcc on a powerpc-ibm-aix4.3.3.0
platform.

These are the last 2 attempts to do so with snapshots 
20010402 and 20010416. The problem is serious since the 
official release does not properly instanciate templates
on this target.

The last snapshot I successfully installed on a 
powerpc-ibm-aix4.3.3.0 is dated from 20000911.


Here the error messages I get:

=============================

snapshot 20010402:
-------------------

/u/devtools/gcc-build-20010402/gcc/xgcc
-B/u/devtools/gcc-build-20010402/gcc/ -nostdinc++ 
-L/u/devtools/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src
-L/u/devtools/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs
-B/DEVTOOLS/free/AIX4.3/powerpc-ibm-aix4.3.3.0/bin/
-B/DEVTOOLS/free/AIX4.3/powerpc-ibm-aix4.3.3.0/lib/ -isystem
/DEVTOOLS/free/AIX4.3/powerpc-ibm-aix4.3.3.0/include -shared -o
.libs/libstdc++.so.o  .libs/limitsMEMBERS.o .libs/stdexcept.o
.libs/functexcept.o .libs/bitset.o .libs/globals.o .libs/basic_file.o
.libs/ios.o .libs/complex_io.o .libs/strstream.o .libs/c++locale.o
.libs/locale.o .libs/localename.o .libs/codecvt.o .libs/locale-inst.o
.libs/stl-inst.o .libs/misc-inst.o .libs/valarray-inst.o
.libs/string-inst.o .libs/libstdc++.lax/libmath.a/signbit.o
.libs/libstdc++.lax/libmath.a/signbitf.o
.libs/libstdc++.lax/libmath.a/nan.o
.libs/libstdc++.lax/libmath.a/hypotf.o
.libs/libstdc++.lax/libmath.a/atan2f.o
.libs/libstdc++.lax/libmath.a/expf.o
.libs/libstdc++.lax/libmath.a/copysignf.o 
.libs/libstdc++.lax/libsupc++convenience.a/del_op.o
.libs/libstdc++.lax/libsupc++convenience.a/del_opnt.o
.libs/libstdc++.lax/libsupc++convenience.a/del_opv.o
.libs/libstdc++.lax/libsupc++convenience.a/del_opvnt.o
.libs/libstdc++.lax/libsupc++convenience.a/exception_support.o
.libs/libstdc++.lax/libsupc++convenience.a/new_handler.o
.libs/libstdc++.lax/libsupc++convenience.a/new_op.o
.libs/libstdc++.lax/libsupc++convenience.a/new_opnt.o
.libs/libstdc++.lax/libsupc++convenience.a/new_opv.o
.libs/libstdc++.lax/libsupc++convenience.a/new_opvnt.o
.libs/libstdc++.lax/libsupc++convenience.a/pure.o
.libs/libstdc++.lax/libsupc++convenience.a/tinfo.o
.libs/libstdc++.lax/libsupc++convenience.a/tinfo2.o
.libs/libstdc++.lax/libsupc++convenience.a/vec.o  
-L/u/devtools/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src
-L/u/devtools/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src/.libs
-lm ../libmath/.libs/libmath.a -lm
../libsupc++/.libs/libsupc++convenience.a -lm
-L/u/devtools/gcc-build-20010402/gcc -lm -lc -lgcc_s   
-Wl,-bE:.libs/libstdc++.exp -Wl,-bnoentry
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt11logic_errorC2ERKSs is
already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZSt21__throw_bad_exceptionv is
already exported.
ld: 0711-415 WARNING: Symbol global constructors keyed to
_ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEmis already exported.
ld: 0711-415 WARNING: Symbol global destructors keyed to
_ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEmis already exported.
ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZNKSt12_Base_bitsetILm1EE16_M_do_find_firstEm is already
exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZSt3cin is already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt12__basic_fileIcEC2EPi is
already exported.
ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZStrsIfcSt11char_traitsIcEERSt13basic_istreamIT0_T1_ES6_RSt7complexIT_E
is already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt12strstreambufC2El is
already exported.
ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZNSt6locale5facet18_S_create_c_localeERPiPKc is already
exported.
ld: 0711-415 WARNING: Symbol global constructors keyed to
_ZNSt6locale4noneEis already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt6locale4noneE is already
exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt6locale5_ImplD2Ev is
already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt7codecvtIccPcEC2Em is
already exported.
ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZNSt23__malloc_alloc_templateILi0EE13_S_oom_mallocEm is
already exported.
ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZNSt15basic_streambufIcSt11char_traitsIcEE4setgEPcS3_S3_ is
already exported.
ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZSt17__gslice_to_indexmRKSt8valarrayImES2_RS0_ is already
exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZSt9terminatev is already
exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._Znwm is already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZnwmRKSt9nothrow_t is already
exported.ld: 0711-415 WARNING: Symbol _GLOBAL_.F._Znam is already
exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F.__cxa_pure_virtual is already
exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F._ZNSt9type_infoD2Ev is already
exported.ld: 0711-415 WARNING: Symbol
_GLOBAL_.F._ZNKSt9type_info6beforeERKS_ is already exported.
ld: 0711-415 WARNING: Symbol _GLOBAL_.F.__cxa_vec_new is already
exported.
ld: 0711-224 WARNING: Duplicate symbol: .std::string::~string()
ld: 0711-224 WARNING: Duplicate symbol:
.std::allocator<char>::~allocator()
ld: 0711-224 WARNING: Duplicate symbol:
.std::allocator<char>::allocator()
ld: 0711-224 WARNING: Duplicate symbol:
.std::allocator<char>::allocator(std::allocator<char> const&)
ld: 0711-224 WARNING: Duplicate symbol:
std::allocator<char>::allocator(std::allocator<char> const&)
ld: 0711-224 WARNING: Duplicate symbol:
std::allocator<char>::~allocator()
ld: 0711-224 WARNING: Duplicate symbol:
std::allocator<char>::allocator()
ld: 0711-224 WARNING: Duplicate symbol: std::string::~string()
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
ld: 0711-317 ERROR: Undefined symbol: std::errno
collect2: ld returned 8 exit status
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory
`/DEVTOOLS/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/DEVTOOLS/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/DEVTOOLS/gcc-build-20010402/powerpc-ibm-aix4.3.3.0/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/DEVTOOLS/gcc-build-20010402'
make: *** [bootstrap] Error 2

===============================================

snapshot 20010416

if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/DEVTOOLS/free/AIX4.3/powerpc-ibm-aix4.3.3.0/bin/ -isystem
/DEVTOOLS/free/AIX4.3/powerpc-ibm-aix4.3.3.0/include -O2   -DIN_GCC   
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include   -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-20010416/gcc
-I../../gcc-20010416/gcc/. -I../../gcc-20010416/gcc/config
-I../../gcc-20010416/gcc/../include -DUSE_COLLECT2 -DL_muldi3 -c
../../gcc-20010416/gcc/libgcc2.c -o libgcc/./_muldi3.o
Assembler:
/tmp/ccAeZaCd.s: line 5: 1252-142 Syntax error.
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/DEVTOOLS/gcc-20010416-build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/DEVTOOLS/gcc-20010416-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/DEVTOOLS/gcc-20010416-build/gcc'
make: *** [bootstrap] Error 2

===============================================================

Many thanks for gcc for for your help,
Philippe.
-- 
___________________________________________________________
Philippe Nobili
CGG
Office M1 335
1, rue Leon Migaux, 91341 Massy Cedex

Tel : 01 64 47 40 90
Fax : 01 64 47 45 14         E-mail : pnobili@cgg.com
___________________________________________________________


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