Subject: How to build/install gcc-3.2?
To: None <port-sparc64@netbsd.org>
From: Frank Cusack <fcusack@fcusack.com>
List: port-sparc64
Date: 10/21/2002 00:37:50
What's the easiest way to get gcc-3.2 built and installed? I'd prefer
to have it in /usr/local.
A simple configure and gmake ends up failing.
thanks
/fc
=2E/xgcc -B./ -B/usr/local/sparc64-unknown-netbsd1.6/bin/ -isystem /usr/loc=
al/sparc64-unknown-netbsd1.6/include -isystem /usr/local/sparc64-unknown-ne=
tbsd1.6/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prot=
otypes -Wmissing-prototypes -isystem ./include -g -DIN_LIBGCC2 -D__GCC_F=
LOAT_NOT_NEEDED -shared -nodefaultlibs -Wl,--soname=3Dlibgcc_s_32.so.1 -Wl=
,--version-script=3Dlibgcc/32/libgcc.map -o libgcc_s_32.so.1 -m32 libgcc/=
32/_muldi3.o libgcc/32/_negdi2.o libgcc/32/_lshrdi3.o libgcc/32/_ashldi3.o =
libgcc/32/_ashrdi3.o libgcc/32/_ffsdi2.o libgcc/32/_clz.o libgcc/32/_cmpdi2=
.o libgcc/32/_ucmpdi2.o libgcc/32/_floatdidf.o libgcc/32/_floatdisf.o libgc=
c/32/_fixunsdfsi.o libgcc/32/_fixunssfsi.o libgcc/32/_fixunsdfdi.o libgcc/3=
2/_fixdfdi.o libgcc/32/_fixunssfdi.o libgcc/32/_fixsfdi.o libgcc/32/_fixxfd=
i.o libgcc/32/_fixunsxfdi.o libgcc/32/_floatdixf.o libgcc/32/_fixunsxfsi.o =
libgcc/32/_fixtfdi.o libgcc/32/_fixunstfdi.o libgcc/32/_floatditf.o libgcc/=
32/_clear_cache.o libgcc/32/_trampoline.o libgcc/32/__main.o libgcc/32/_exi=
t.o libgcc/32/_absvsi2.o libgcc/32/_absvdi2.o libgcc/32/_addvsi3.o libgcc/3=
2/_addvdi3.o libgcc/32/_subvsi3.o libgcc/32/_subvdi3.o libgcc/32/_mulvsi3.o=
libgcc/32/_mulvdi3.o libgcc/32/_negvsi2.o libgcc/32/_negvdi2.o libgcc/32/_=
ctors.o libgcc/32/_divdi3.o libgcc/32/_moddi3.o libgcc/32/_udivdi3.o libgcc=
/32/_umoddi3.o libgcc/32/_udiv_w_sdiv.o libgcc/32/_udivmoddi4.o libgcc/32/=
unwind-dw2.o libgcc/32/unwind-dw2-fde.o libgcc/32/unwind-sjlj.o -lc && rm -=
f libgcc_s_32.so && ln -s libgcc_s_32.so.1 libgcc_s_32.so
collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_muldi3.o=
' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_negdi2.o=
' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_lshrdi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_ashldi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_ashrdi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_ffsdi2.o=
' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_clz.o' i=
s incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_cmpdi2.o=
' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_ucmpdi2.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_floatdid=
f.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_floatdis=
f.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunsdf=
si.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunssf=
si.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunsdf=
di.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixdfdi.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunssf=
di.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixsfdi.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixxfdi.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunsxf=
di.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_floatdix=
f.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunsxf=
si.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixtfdi.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_fixunstf=
di.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_floatdit=
f.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_clear_ca=
che.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_trampoli=
ne.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/__main.o'=
is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_exit.o' =
is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_absvsi2.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_absvdi2.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_addvsi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_addvdi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_subvsi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_subvdi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_mulvsi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_mulvdi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_negvsi2.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_negvdi2.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_ctors.o'=
is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_divdi3.o=
' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_moddi3.o=
' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_udivdi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_umoddi3.=
o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_udiv_w_s=
div.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/_udivmodd=
i4.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/unwind-dw=
2.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/unwind-dw=
2-fde.o' is incompatible with sparc:v9 output
/usr/bin/ld: warning: sparc architecture of input file `libgcc/32/unwind-sj=
lj.o' is incompatible with sparc:v9 output
/usr/bin/ld: libgcc/32/_muldi3.o: invalid string offset 778240042 >=3D 32 f=
or section `.strtab'
gmake[3]: *** [32/libgcc_s_32.so] Error 1
gmake[3]: Leaving directory `/home/data/src/gcc-3.2.objdir/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory `/home/data/src/gcc-3.2.objdir/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/home/data/src/gcc-3.2.objdir/gcc'
gmake: *** [bootstrap] Error 2