http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47806
Summary: Failure to build cross-combiner to powerpc-ibm-aix6.0 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: ste...@gcc.gnu.org Trying to build a cross compiler from x86_64-unknown-linux-gnu (Ubuntu 10.04 LTS) to powerpc-ibm-aix6.0 fails while building libgcc as follows: # If this is the top-level multilib, build all the other # multilibs. # @multilib_flags@ is still needed because this may use # /home/stevenb/devel/cross-aix/build/./gcc/xgcc -B/home/stevenb/devel/cross-aix/build/./gcc/ -B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/bin/ -B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/lib/ -isystem /home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/include -isystem /home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/sys-include -L/home/stevenb/devel/cross-aix/build/./ld and -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mlong-double-128 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc directly. # @multilib_dir@ is not really necessary, but sometimes it has # more uses than just a directory name. /bin/bash ../../../combined/libgcc/../mkinstalldirs . /home/stevenb/devel/cross-aix/build/./gcc/xgcc -B/home/stevenb/devel/cross-aix/build/./gcc/ -B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/bin/ -B/home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/lib/ -isystem /home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/include -isystem /home/stevenb/devel/cross-aix/install/powerpc-ibm-aix6.0/sys-include -L/home/stevenb/devel/cross-aix/build/./ld -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -mlong-double-128 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -shared -nodefaultlibs -Wl,-bE:libgcc.map -o ./shr.o -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 _pack_sf_s.o _unpack_sf_s.o _addsub_sf_s.o _mul_sf_s.o _div_sf_s.o _fpcmp_parts_sf_s.o _compare_sf_s.o _eq_sf_s.o _ne_sf_s.o _gt_sf_s.o _ge_sf_s.o _lt_sf_s.o _le_sf_s.o _unord_sf_s.o _si_to_sf_s.o _sf_to_si_s.o _negate_sf_s.o _make_sf_s.o _sf_to_df_s.o _thenan_sf_s.o _sf_to_usi_s.o _usi_to_sf_s.o _pack_df_s.o _unpack_df_s.o _addsub_df_s.o _mul_df_s.o _div_df_s.o _fpcmp_parts_df_s.o _compare_df_s.o _eq_df_s.o _ne_df_s.o _gt_df_s.o _ge_df_s.o _lt_df_s.o _le_df_s.o _unord_df_s.o _si_to_df_s.o _df_to_si_s.o _negate_df_s.o _make_df_s.o _df_to_sf_s.o _thenan_df_s.o _df_to_usi_s.o _usi_to_df_s.o ppc64-fp_s.o darwin-ldouble_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 `case . in *pthread*) echo -L/usr/lib/threads -lpthreads -lc_r /usr/lib/libc.a ;; *) echo -lc ;; esac` ; rm -f ./tmp-libgcc_s.a ; /home/stevenb/devel/cross-aix/build/./binutils/ar -X32_64 -X32_64 rc ./tmp-libgcc_s.a ./shr.o ; mv ./tmp-libgcc_s.a ./libgcc_s.a ; rm -f ./shr.o /home/stevenb/devel/cross-aix/build/gcc/../ld/ld-new: cannot find -lc /home/stevenb/devel/cross-aix/build/gcc/../ld/ld-new: cannot find -lc collect2: ld returned 1 exit status /home/stevenb/devel/cross-aix/build/./binutils/ar: ./shr.o: No such file or directory mv: cannot stat `./tmp-libgcc_s.a': No such file or directory # Now that we have built all the objects, we need to copy # them back to the GCC directory. Too many things (other # in-tree libraries, and DejaGNU) know about the layout # of the build tree, for now. make install-leaf DESTDIR=../.././gcc \ slibdir= libsubdir= MULTIOSDIR=. make[3]: Entering directory `/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc' Makefile:813: warning: overriding commands for target `libunwind.a' Makefile:755: warning: ignoring old commands for target `libunwind.a' /bin/bash ../../../combined/libgcc/../mkinstalldirs ../.././gcc /usr/bin/install -c -m 644 libgcc_eh.a ../.././gcc/ chmod 644 ../.././gcc/libgcc_eh.a /home/stevenb/devel/cross-aix/build/./binutils/ranlib ../.././gcc/libgcc_eh.a /bin/bash ../../../combined/libgcc/../mkinstalldirs ../.././gcc; /usr/bin/install -c -m 644 ./libgcc_s.a ../.././gcc/ /usr/bin/install: cannot stat `./libgcc_s.a': No such file or directory make[3]: *** [install-shared] Error 1 make[3]: Leaving directory `/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/stevenb/devel/cross-aix/build/powerpc-ibm-aix6.0/libgcc' make[1]: *** [all-target-libgcc] Error 2 make[1]: Leaving directory `/home/stevenb/devel/cross-aix/build' make: *** [all] Error 2 $ cat gcc/configargs.h /* Generated automatically. */ static const char configuration_arguments[] = "../combined/configure --enable-languages=c --disable-checking --target=powerpc-ibm-aix6.0 --with-mpc=/opt/ --disable-nls --disable-multilib --prefix=/home/stevenb/devel/cross-aix/install/"; static const char thread_model[] = "aix"; static const struct { const char *name, *value; } configure_default_options[] = { { NULL, NULL} }; $ svn info ../combined/gcc/ChangeLog Path: ../combined/gcc/ChangeLog Name: ChangeLog URL: svn+ssh://ste...@gcc.gnu.org/svn/gcc/trunk/gcc/ChangeLog Repository Root: svn+ssh://ste...@gcc.gnu.org/svn/gcc Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4 Revision: 169860 Node Kind: file Schedule: normal Last Changed Author: jakub Last Changed Rev: 169855 Last Changed Date: 2011-02-05 21:35:16 +0100 (Sat, 05 Feb 2011) Text Last Updated: 2011-02-06 12:53:52 +0100 (Sun, 06 Feb 2011) Checksum: 1313e6edd97290f943f829f45063f791 $