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]

4.4.0-RC bootstrap failed on i686-pc-solaris2.10


I tried to build the 4.4.0-RC-20090414 on Solaris x86, configured with

/var/tmp/build-gcc/gcc-4.4.0-RC-20090414/configure
--prefix=/opt/gcc/32-bit/4.4.0-RC-20090414 --enable-languages=c,c++
--with-gnu-as --with-as=/var/tmp/build-gcc/binutils_2.18/bin/as
--with-ld=/usr/ccs/bin/ld --with-gmp=/var/tmp/build-gcc/stage
--with-mpfr=/var/tmp/build-gcc/stage --build=i686-pc-solaris2.10
--with-arch-32=pentium4 --with-system-zlib --enable-shared
--enable-threads=posix --enable-nls --enable-libstdcxx-debug

where the 'stage' dir contains gmp and mpfr installations, built with
--disable-shared. The --with-as path is a symlink to the real binutils
dir, I realise I don't want to use that /var/tmp path in a real build,
but I'm just trying to get my build script working for now.

bootstrap failed like so:

/bin/ksh /var/tmp/build-gcc/gcc-4.4.0-RC-20090414/libgcc/../mkinstalldirs .
/var/tmp/build-gcc/gcc/./gcc/xgcc -B/var/tmp/build-gcc/gcc/./gcc/
-B/opt/gcc/32-bit/4.4.0-RC-20090414/i686-pc-solaris2.10/bin/
-B/opt/gcc/32-bit/4.4.0-RC-20090414/i686-pc-solaris2.10/lib/ -isystem
/opt/gcc/32-bit/4.4.0-RC-20090414/i686-pc-solaris2.10/include -isystem
/opt/gcc/32-bit/4.4.0-RC-20090414/i686-pc-solaris2.10/sys-include -O2
-g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition  -isystem
./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-h,libgcc_s.so.1
-Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc.map -o ./libgcc_s.so.1.tmp -g
-O2 -B./ _muldi3_s.o _negdi2_s.o _lshrdi3_s.o _ashldi3_s.o
_ashrdi3_s.o _cmpdi2_s.o _ucmpdi2_s.o _clear_cache_s.o
_enable_execute_stack_s.o _trampoline_s.o __main_s.o _absvsi2_s.o
_absvdi2_s.o _addvsi3_s.o _addvdi3_s.o _subvsi3_s.o _subvdi3_s.o
_mulvsi3_s.o _mulvdi3_s.o _negvsi2_s.o _negvdi2_s.o _ctors_s.o
_ffssi2_s.o _ffsdi2_s.o _clz_s.o _clzsi2_s.o _clzdi2_s.o _ctzsi2_s.o
_ctzdi2_s.o _popcount_tab_s.o _popcountsi2_s.o _popcountdi2_s.o
_paritysi2_s.o _paritydi2_s.o _powisf2_s.o _powidf2_s.o _powixf2_s.o
_powitf2_s.o _mulsc3_s.o _muldc3_s.o _mulxc3_s.o _multc3_s.o
_divsc3_s.o _divdc3_s.o _divxc3_s.o _divtc3_s.o _bswapsi2_s.o
_bswapdi2_s.o _fixunssfsi_s.o _fixunsdfsi_s.o _fixunsxfsi_s.o
_fixsfdi_s.o _fixdfdi_s.o _fixxfdi_s.o _fixtfdi_s.o _fixunssfdi_s.o
_fixunsdfdi_s.o _fixunsxfdi_s.o _fixunstfdi_s.o _floatdisf_s.o
_floatdidf_s.o _floatdixf_s.o _floatditf_s.o _floatundisf_s.o
_floatundidf_s.o _floatundixf_s.o _floatunditf_s.o _divdi3_s.o
_moddi3_s.o _udivdi3_s.o _umoddi3_s.o _udiv_w_sdiv_s.o _udivmoddi4_s.o
unwind-dw2_s.o unwind-dw2-fde_s.o unwind-sjlj_s.o gthr-gnat_s.o
unwind-c_s.o emutls_s.o -lc && rm -f ./libgcc_s.so && if [ -f
./libgcc_s.so.1 ]; then mv -f ./libgcc_s.so.1 ./libgcc_s.so.1.backup;
else true; fi && mv ./libgcc_s.so.1.tmp ./libgcc_s.so.1 && ln -s
libgcc_s.so.1 ./libgcc_s.so
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_enable_execute_stack_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_absvsi2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_absvdi2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_addvsi3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_addvdi3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_subvsi3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_subvdi3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_mulvsi3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_mulvdi3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_negvsi2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_negvdi2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_popcountsi2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_popcountdi2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_powisf2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_powidf2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_powixf2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _muldc3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _mulxc3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _divsc3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_divdc3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_divxc3_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _fixunssfsi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _fixunsdfsi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _fixunsxfsi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_fixsfdi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_fixdfdi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_fixxfdi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_fixunssfdi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_fixunsdfdi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_fixunsxfdi_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
_floatdisf_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _floatdidf_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _floatdixf_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _floatundisf_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _floatundidf_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file _floatundixf_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file unwind-dw2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
unwind-dw2_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file unwind-dw2-fde_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
unwind-dw2-fde_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file gthr-gnat_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
gthr-gnat_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
unwind-c_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.cx' is multiply-defined:
        (file _mulsc3_s.o type=FUNC; file emutls_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
emutls_s.o type=FUNC);
ld: fatal: symbol `__i686.get_pc_thunk.bx' is multiply-defined:
        (file /var/tmp/build-gcc/gcc/./gcc/crtbegin.o type=FUNC; file
/var/tmp/build-gcc/gcc/./gcc/crtend.o type=FUNC);
ld: fatal: File processing errors. No output written to ./libgcc_s.so.1.tmp
collect2: ld returned 1 exit status
make[3]: *** [libgcc_s.so] Error 1
make[3]: Leaving directory `/var/tmp/build-gcc/gcc/i686-pc-solaris2.10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/var/tmp/build-gcc/gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/build-gcc/gcc'
make: *** [all] Error 2


I've not been able to try 4.4.0 final, but a similar configuration
worked with GCC 4.3, am I doing something wrong or is this a
regression?

Thanks,

Jonathan


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