sparc solaris problems
Stephen L Moshier
moshier@mediaone.net
Sun Jun 3 08:47:00 GMT 2001
An attempt to build current main branch gcc on sparc-sun-solaris2.7 failed in
two places. First, make LANGUAGES=c ended here:
gcc -g -O2 -o jar jartool.o dostime.o compress.o pushback.o
./../zlib/libz.a -L/../zlib/
cd ../ccdir/fastjar && autoheader
autoheader: error: shell error while sourcing /tmp/ah13409/traces.sh
make[1]: *** [../ccdir/fastjar/stamp-h.in] Error 1
After the build directory for fastjar was removed, then make LANGUAGES=c
built the C compiler but failed as shown below on libgcc with a complaint
about libgcc.map from the linker.
Apparently binutils was installed on this system. Should it be?
/usr/local/sparc-sun-solaris2.7/bin/ld --version
GNU ld 2.9.1
The installed gcc is 2.95.1. Last built gcc on this computer from cvs
sources in February or March with no trouble.
Note, in order to get this far it was necessary to install guile,
autogen, libtool, autoconf, and automake. Are these supposed
to be requirements now?
/home/smoshier/egcs-build/gcc/xgcc -B/home/smoshier/egcs-build/gcc/
-B/usr/local/sparc-sun-solaris2.7/bin/ -B/usr/local/sparc-sun-solaris2.7/lib/
-isystem /usr/local/sparc-sun-solaris2.7/include -O2 -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -shared -nodefaultlibs -Wl,-h,libgcc_s.so.0
-Wl,-z,text -Wl,-z,defs -Wl,-M,libgcc.map -o libgcc_s.so
libgcc/./_muldi3.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o
libgcc/./_umoddi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o
libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_udiv_w_sdiv.o
libgcc/./_udivmoddi4.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o
libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o
libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o
libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o
libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o
libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o
libgcc/./__gcc_bcmp.o libgcc/./_bb.o libgcc/./_clear_cache.o
libgcc/./_trampoline.o libgcc/./__main.o l ibgcc/./_exit.o
libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o
libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o
libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o
libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./unwind-dw2.o
libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o -lc
&& rm -f libgcc_s.so.0 && ln -s libgcc_s.so libgcc_s.so.0
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc.map: file format not
recognized; treating as linker script
/usr/local/sparc-sun-solaris2.7/bin/ld:libgcc.map:1: parse error
collect2: ld returned 1 exit status
make[2]: *** [libgcc_s.so] Error 1
More information about the Gcc-bugs
mailing list