Ian Lance Taylor writes: > You trimmed off too much. Please show us more of the end of the log > file, including the command being run. > > This should only happen if you used --with-gnu-ld. Is > /usr/local/sparc-sun-solaris2.8/bin/ld the GNU linker? Which version of > the GNU linker is it? You can use the --version option to find out. > > Ian > Everybody, /usr/local/sparc-sun-solaris2.8/bin/ld is version 2.19 of the GNU linker. My only other linker is Sun ld that's in /usr/ccs/bin. Here are the last 60 lines of the log: MULTILIB_CFLAGS="-g -O2 -m64" \ T=$T \ T_TARGET="${T}crt1.o ${T}crtbegin.o ${T}crtend.o ${T}crtfastmath.o ${T}crti.o ${T}crtn.o ${T}gcrt1.o ${T}gmon.o" \ T_TARGET make[6]: Entering directory `/home/gc/gcc' /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -m64 -c -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/crt1.o -x assembler-with-cpp /home/gcc-4.4.0/gcc/config/sparc/sol2-c1.asm /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -I. -I/home/gc/sparc-sun-solaris2.8/sparcv9/libgcc -I/home/gcc-4.4.0/gcc -I/home/gcc-4.4.0/gcc//home/gc/sparc-sun-solaris2.8/sparcv9/libgcc -I/home/gcc-4.4.0/gcc/../include -I/home/gcc-4.4.0/gcc/../libcpp/include -I/home/gcc-4.4.0/gcc/../libdecnumber -I/home/gcc-4.4.0/gcc/../libdecnumber/dpd -I../libdecnumber -g -O2 -m64 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fPIC \ -c /home/gcc-4.4.0/gcc/crtstuff.c -DCRT_BEGIN \ -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/crtbegin.o /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -I. -I/home/gc/sparc-sun-solaris2.8/sparcv9/libgcc -I/home/gcc-4.4.0/gcc -I/home/gcc-4.4.0/gcc//home/gc/sparc-sun-solaris2.8/sparcv9/libgcc -I/home/gcc-4.4.0/gcc/../include -I/home/gcc-4.4.0/gcc/../libcpp/include -I/home/gcc-4.4.0/gcc/../libdecnumber -I/home/gcc-4.4.0/gcc/../libdecnumber/dpd -I../libdecnumber -g -O2 -m64 -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize -fPIC \ -c /home/gcc-4.4.0/gcc/crtstuff.c -DCRT_END \ -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/crtend.o /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -m64 -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 -c -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/crtfastmath.o /home/gcc-4.4.0/gcc/config/sparc/crtfastmath.c /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -m64 -c -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/crti.o -x assembler-with-cpp /home/gcc-4.4.0/gcc/config/sparc/sol2-ci.asm /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -m64 -c -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/crtn.o -x assembler-with-cpp /home/gcc-4.4.0/gcc/config/sparc/sol2-cn.asm /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -m64 -c -DGCRT1 -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/gcrt1.o -x assembler-with-cpp /home/gcc-4.4.0/gcc/config/sparc/sol2-c1.asm /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -I. -I/home/gc/sparc-sun-solaris2.8/sparcv9/libgcc -I/home/gcc-4.4.0/gcc -I/home/gcc-4.4.0/gcc//home/gc/sparc-sun-solaris2.8/sparcv9/libgcc -I/home/gcc-4.4.0/gcc/../include -I/home/gcc-4.4.0/gcc/../libcpp/include -I/home/gcc-4.4.0/gcc/../libdecnumber -I/home/gcc-4.4.0/gcc/../libdecnumber/dpd -I../libdecnumber -g -O2 -m64 \ -c /home/gcc-4.4.0/gcc/config/sparc/gmon-sol2.c -o /home/gc/sparc-sun-solaris2.8/sparcv9/libgcc/gmon.o make[6]: Leaving directory `/home/gc/gcc' # Early copyback; see "all" above for the rationale. The # early copy is necessary so that the gcc -B options find # the right startup files when linking shared libgcc. /bin/ksh /home/gcc-4.4.0/libgcc/../mkinstalldirs ../../.././gcc/sparcv9 mkdir ../../.././gcc/sparcv9 parts="crt1.o crtbegin.o crtend.o crtfastmath.o crti.o crtn.o gcrt1.o gmon.o"; \ for file in $parts; do \ rm -f ../../.././gcc/sparcv9/$file; \ /opt/sfw/bin/ginstall -c -m 644 $file ../../.././gcc/sparcv9/; \ done { /home/gc/./gcc/nm -pg _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; echo %%; \ cat /home/gcc-4.4.0/libgcc/../gcc/libgcc-std.ver \ | sed -e '/^[ ]*#/d' \ -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' \ | /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include -g -O2 -m64 -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 -I. -I. -I../../.././gcc -I/home/gcc-4.4.0/libgcc -I/home/gcc-4.4.0/libgcc/. -I/home/gcc-4.4.0/libgcc/../gcc -I/home/gcc-4.4.0/libgcc/../include -DHAVE_CC_TLS -E -xassembler-with-cpp -; \ } | gawk -f /home/gcc-4.4.0/libgcc/../gcc/mkmap-symver.awk > tmp-libgcc.map mv tmp-libgcc.map libgcc.map # @multilib_flags@ is still needed because this may use # /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/sys-include and -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 directly. # @multilib_dir@ is not really necessary, but sometimes it has # more uses than just a directory name. /bin/ksh /home/gcc-4.4.0/libgcc/../mkinstalldirs sparcv9 mkdir sparcv9 /home/gc/./gcc/xgcc -B/home/gc/./gcc/ -B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/ -isystem /usr/local/sparc-sun-solaris2.8/include -isystem /usr/local/sparc-sun-solaris2.8/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 sparcv9/libgcc_s.so.1.tmp -g -O2 -m64 -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 sparcv9/libgcc_s.so && if [ -f sparcv9/libgcc_s.so.1 ]; then mv -f sparcv9/libgcc_s.so.1 sparcv9/libgcc_s.so.1.backup; else true; fi && mv sparcv9/libgcc_s.so.1.tmp sparcv9/libgcc_s.so.1 && ln -s libgcc_s.so.1 sparcv9/libgcc_s.so /usr/local/sparc-sun-solaris2.8/bin/ld:libgcc.map: file format not recognized; treating as linker script /usr/local/sparc-sun-solaris2.8/bin/ld:libgcc.map:1: syntax error collect2: ld returned 1 exit status make[5]: *** [libgcc_s.so] Error 1 make[5]: Leaving directory `/home/gc/sparc-sun-solaris2.8/sparcv9/libgcc' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/home/gc/sparc-sun-solaris2.8/libgcc' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/home/gc/sparc-sun-solaris2.8/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/home/gc' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/home/gc' make: *** [all] Error 2 %^Dexit script done on Wed 13 May 2009 11:04:05 PM EDT ________________________________________________________________ Please visit a saintly hero: http://www.jakemoore.org And a boy with a wonderful wish: http://shaneswish.com/