Subject: Failing to compile cross/powerpc-netbsd on mac68k
To: mac68k <port-mac68k@netbsd.org>
From: =?ISO-8859-1?Q?R=E9mi_Zara?= <remi_zara@mac.com>
List: tech-pkg
Date: 09/08/2002 10:57:14
Hi,

I want to cross compile from mac68k to macppc, so I tried to install=20
the pkg cross/powerpc-netbsd on a MacIIci running NetBSD 1.6_RC2, but=20
it fails with the attached message. This is a second run of make, but=20
the first failed the same way.

I hope someone can help me with this.

Thanks,

R=E9mi Zara


=3D=3D=3D> Building for cross-powerpc-netbsd-1.3.0.0
gmake[1]: Entering directory=20
`/usr/pkgsrc/cross/powerpc-netbsd/work/binutils-2.9.1/libiberty'
gmake[1]: Leaving directory=20
`/usr/pkgsrc/cross/powerpc-netbsd/work/binutils-2.9.1/libiberty'
test -x /usr/pkgsrc/cross/powerpc-netbsd/work/ar || cc -O2   =20
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o=20
/usr/pkgsrc/cross/powerpc-netbsd/work/ar  -DPREFIX=3D\"/usr/pkg/cross\" =20=

-DGNUTARGET=3D\"elf32-powerpc\"  /usr/pkgsrc/cross/COMMON/buwrapper.c
test -x /usr/pkgsrc/cross/powerpc-netbsd/work/ld || cc -O2   =20
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o=20
/usr/pkgsrc/cross/powerpc-netbsd/work/ld  -DPREFIX=3D\"/usr/pkg/cross\" =20=

-DGNUTARGET=3D\"elf32-powerpc\"  -DLDEMULATION=3D\"elf32ppc\" =20
-DLD_RPATH_LINK=3D\"/usr/pkg/cross/powerpc-netbsd/lib\" =20
/usr/pkgsrc/cross/COMMON/buwrapper.c
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3=20=

_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2=20
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi=20
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi=20
_fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf=20
_bb _shtab _clear_cache _trampoline __main _exit _ctors _pure; \
do \
   echo ${name}; \
   /usr/pkgsrc/cross/powerpc-netbsd/work/egcs-1.1.1/gcc/xgcc=20
-B/usr/pkgsrc/cross/powerpc-netbsd/work/egcs-1.1.1/gcc/ -idirafter=20
/usr/pkgsrc/cross/powerpc-netbsd/work/include -O2  -DCROSS_COMPILE=20
-DIN_GCC    -O2 -I./include   -g1  -DIN_LIBGCC2=20
-D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I./config -c -DL${name} \
       ./libgcc2.c -o ${name}.o; \
   if [ $? -eq 0 ] ; then true; else exit 1; fi; \
   /usr/pkgsrc/cross/powerpc-netbsd/work/ar rc tmplibgcc2.a ${name}.o; \
   rm -f ${name}.o; \
done
_muldi3
xgcc: Internal compiler error: program cc1 got fatal signal 11
gmake: *** [libgcc2.a] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/cross/powerpc-netbsd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/cross/powerpc-netbsd
--
R=E9mi Zara
web: http://www.remi-zara.net/=