Subject: cross compile i386 -> macppc dies
To: current-users <current-users@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: current-users
Date: 09/17/2002 10:58:29
hi ..


130 yeled@fnord[/usr/src/current/src]% cat /etc/mk.conf
CLEANDEPENDS=YES
MKOBJ=yes
MKOBJDIRS=yes
OBJMACHINE=yes
WRKOBJDIR=/usr/obj


131 yeled@fnord[/usr/src/current/src]% sudo ./build.sh -B
FNORD-VULCANISED -D /usr/home/yeled/macppc_dest -d -R
/usr/home/yeled/macppc_rel -T /usr/home/yeled/macppc_tools -m macppc
-a powerpc

<snip>

cc -W -Wall -O -o ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o
ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o
ldcref.o eelf32ppc.o eelf32ppclinux.o eelf32ppcsim.o
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
(cd intl && /usr/home/yeled/macppc_tools/bin/nbmake -f
/usr/src/current/src/tools/toolchain/../Makefile.gnuwrap all)
cc -c -DCROSS_COMPILE -DIN_GCC -DHAIFA   -O   -DHAVE_CONFIG_H    -I.
-I/usr/src/current/src/tools/toolchain/../../gnu/dist/toolchain/gcc
-I/usr/src/current/src/tools/toolchain/../../gnu/dist/toolchain/gcc/config
-I/usr/src/current/src/tools/toolchain/../../gnu/dist/toolchain/gcc/../include
/usr/src/current/src/tools/toolchain/../../gnu/dist/toolchain/gcc/gencheck.c
/var/tmp/cckBlWoN.s: Assembler messages:
/var/tmp/cckBlWoN.s:658: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:659: Error: Unrecognized opcode: `movl'
/var/tmp/cckBlWoN.s:660: Error: Unrecognized opcode: `subl'
/var/tmp/cckBlWoN.s:661: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:662: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:663: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:664: Error: Unrecognized opcode: `call'
/var/tmp/cckBlWoN.s:665: Error: Unrecognized opcode: `leave'
/var/tmp/cckBlWoN.s:666: Error: Unrecognized opcode: `ret'
/var/tmp/cckBlWoN.s:670: Error: Alignment too large: 15 assumed
/var/tmp/cckBlWoN.s:673: Error: Alignment too large: 15 assumed
/var/tmp/cckBlWoN.s:676: Error: Alignment too large: 15 assumed
/var/tmp/cckBlWoN.s:684: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:685: Error: Unrecognized opcode: `movl'
/var/tmp/cckBlWoN.s:686: Error: Unrecognized opcode: `subl'
/var/tmp/cckBlWoN.s:687: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:688: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:689: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:690: Error: syntax error; found `(' but expected
`,'
/var/tmp/cckBlWoN.s:690: Error: junk at end of line: `(%ebp)'
/var/tmp/cckBlWoN.s:691: Error: Unrecognized opcode: `je'
/var/tmp/cckBlWoN.s:692: Error: Unrecognized opcode: `call'
/var/tmp/cckBlWoN.s:693: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:694: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:695: Error: Unrecognized opcode: `call'
/var/tmp/cckBlWoN.s:698: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:699: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:700: Error: Unrecognized opcode: `call'
/var/tmp/cckBlWoN.s:701: Error: Unrecognized opcode: `xorl'
/var/tmp/cckBlWoN.s:702: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:703: Error: missing operand
/var/tmp/cckBlWoN.s:704: Error: Unrecognized opcode: `je'
/var/tmp/cckBlWoN.s:705: Error: Unrecognized opcode: `movl'
/var/tmp/cckBlWoN.s:708: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:709: Error: Unrecognized opcode: `leal'
/var/tmp/cckBlWoN.s:710: Error: Unrecognized opcode: `movl'
/var/tmp/cckBlWoN.s:711: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:712: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:713: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:714: Error: Unrecognized opcode: `call'
/var/tmp/cckBlWoN.s:715: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:716: Error: Unrecognized opcode: `movl'
/var/tmp/cckBlWoN.s:717: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:718: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:719: Error: Unrecognized opcode: `pushl'
/var/tmp/cckBlWoN.s:720: Error: Unrecognized opcode: `call'
/var/tmp/cckBlWoN.s:721: Error: Unrecognized opcode: `addl'
/var/tmp/cckBlWoN.s:722: Error: Unrecognized opcode: `incl'
/var/tmp/cckBlWoN.s:723: Error: Bad expression
/var/tmp/cckBlWoN.s:723: Error: Missing ')' assumed
/var/tmp/cckBlWoN.s:723: Error: syntax error; found `e' but expected
`,'
/var/tmp/cckBlWoN.s:723: Error: junk at end of line: `edi,%esi,4)'
/var/tmp/cckBlWoN.s:724: Error: Unrecognized opcode: `jne'
/var/tmp/cckBlWoN.s:726: Error: Unrecognized opcode: `xorl'
/var/tmp/cckBlWoN.s:727: Error: Unrecognized opcode: `leal'
/var/tmp/cckBlWoN.s:728: Error: Unrecognized opcode: `popl'
/var/tmp/cckBlWoN.s:729: Error: Unrecognized opcode: `popl'
/var/tmp/cckBlWoN.s:730: Error: Unrecognized opcode: `popl'
/var/tmp/cckBlWoN.s:731: Error: Unrecognized opcode: `leave'
/var/tmp/cckBlWoN.s:732: Error: Unrecognized opcode: `ret'
*** Error code 1

Stop.
nbmake: stopped in
/usr/obj/current/src/tools/toolchain.macppc.FNORD-VULCANISED/build/gcc
*** Error code 1

Stop.
nbmake: stopped in
/usr/obj/current/src/tools/toolchain.macppc.FNORD-VULCANISED/build
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/tools/toolchain
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/tools/toolchain
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/tools
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src


lost,
  C.
-- 
 charlie@rubberduck.com
 http://rubberduck.com/yeled/pgp.txt