compilation problem

Boaz Lowenstein odin@zahav.net.il
Mon Feb 14 22:56:00 GMT 2005


Hi all,
i am trying to compile gcc 3.4.3 on solaris 10 (sparc)
 
SunOS uv 5.10 s10_72 sun4u sparc SUNW,Sun-Fire-V240
 
and getting the folloeing error : 
 
./xgcc -B./ -B/usr/local/sparc-sun-solaris2.10/bin/ -
isystem /usr/local/sparc-sun-solaris2.10/include -
isystem /usr/local/sparc-sun-solaris2.10/sys-include -
L/usr/imriz/gccobj/gcc/../ld -O2  -DIN_GCC    -W -Wall -
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-
style-definition  -isystem ./include  -fPIC -g -
DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -
shared -nodefaultlibs -Wl,--soname=libgcc_s.so.1 -Wl,--
version-script=libgcc/sparcv9/libgcc.map -o sparcv9
/libgcc_s.so.1.tmp  -m64  libgcc/sparcv9/_muldi3.o 
libgcc/sparcv9/_negdi2.o libgcc/sparcv9/_lshrdi3.o 
libgcc/sparcv9/_ashldi3.o libgcc/sparcv9/_ashrdi3.o 
libgcc/sparcv9/_cmpdi2.o libgcc/sparcv9/_ucmpdi2.o 
libgcc/sparcv9/_floatdidf.o libgcc/sparcv9/_floatdisf.o 
libgcc/sparcv9/_fixunsdfsi.o libgcc/sparcv9/_fixunssfsi.o 
libgcc/sparcv9/_fixunsdfdi.o libgcc/sparcv9/_fixdfdi.o 
libgcc/sparcv9/_fixunssfdi.o libgcc/sparcv9/_fixsfdi.o 
libgcc/sparcv9/_fixxfdi.o libgcc/sparcv9/_fixunsxfdi.o 
libgcc/sparcv9/_floatdixf.o libgcc/sparcv9/_fixunsxfsi.o 
libgcc/sparcv9/_fixtfdi.o libgcc/sparcv9/_fixunstfdi.o 
libgcc/sparcv9/_floatditf.o libgcc/sparcv9/_clear_cache.o 
libgcc/sparcv9/_enable_execute_stack.o libgcc/sparcv9
/_trampoline.o libgcc/sparcv9/__main.o libgcc/sparcv9/_absvsi2
.o libgcc/sparcv9/_absvdi2.o libgcc/sparcv9/_addvsi3.o 
libgcc/sparcv9/_addvdi3.o libgcc/sparcv9/_subvsi3.o 
libgcc/sparcv9/_subvdi3.o libgcc/sparcv9/_mulvsi3.o 
libgcc/sparcv9/_mulvdi3.o libgcc/sparcv9/_negvsi2.o 
libgcc/sparcv9/_negvdi2.o libgcc/sparcv9/_ctors.o 
libgcc/sparcv9/_ffssi2.o libgcc/sparcv9/_ffsdi2.o 
libgcc/sparcv9/_clz.o libgcc/sparcv9/_clzsi2.o libgcc/sparcv9
/_clzdi2.o libgcc/sparcv9/_ctzsi2.o libgcc/sparcv9/_ctzdi2.o 
libgcc/sparcv9/_popcount_tab.o libgcc/sparcv9/_popcountsi2.o 
libgcc/sparcv9/_popcountdi2.o libgcc/sparcv9/_paritysi2.o 
libgcc/sparcv9/_paritydi2.o libgcc/sparcv9/_divdi3.o 
libgcc/sparcv9/_moddi3.o libgcc/sparcv9/_udivdi3.o 
libgcc/sparcv9/_umoddi3.o libgcc/sparcv9/_udiv_w_sdiv.o 
libgcc/sparcv9/_udivmoddi4.o  libgcc/sparcv9/unwind-dw2.o 
libgcc/sparcv9/unwind-dw2-fde.o libgcc/sparcv9/unwind-sjlj.o 
libgcc/sparcv9/gthr-gnat.o libgcc/sparcv9/unwind-c.o -lc && 
rm -f libgcc_s_sparcv9.so && if [ -f sparcv9/libgcc_s.so.1 ]; 
then mv -f sparcv9/libgcc_s.so.1 sparcv9/libgcc_s.so.1
.`basename `; else true; fi && mv sparcv9/libgcc_s.so.1.tmp 
sparcv9/libgcc_s.so.1 && ln -s sparcv9/libgcc_s.so.1 
libgcc_s_sparcv9.so
libgcc/sparcv9/libgcc.map:76 / by zero
collect2: ld returned 1 exit status
make[2]: *** [sparcv9/libgcc_s_sparcv9.so] Error 1
make[2]: Leaving directory `/usr/imriz/gccobj/gcc'
make[1]: *** [stmp-multilib] Error 2
make[1]: Leaving directory `/usr/imriz/gccobj/gcc'
make: *** [all-gcc] Error 2

i am using gnu tools :
as
GNU assembler version 2.15 (sparc-sun-solaris2.10) using BFD 
version 2.15
ld
GNU ld version 2.15
 
i would appreciate any help 
 
Cheers,
odin



More information about the Gcc-help mailing list