[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: powerpc slind host



Hi,

Alexander: I installed finally gcc-3.4-base from etch.

I found a big problem. I started again to build the toolchain,
with a powerpc as host, and uclibc-i386 and uclibc-powerpc as
targets. I'm at the step 4, the bootstrap compiler.

Here my command:
jujux@jujuxG4:~/tmp/gcc-3.4-3.4.4$ env LANG=C LC_LANG=C
GCC_TARGET=uclibc-i386 DEB_CROSS_BOOTSTRAP=yes
dpkg-buildpackage -uc -us -rfakeroot -d -b
&>../gcc-cross-target-uclibc-i386-host-powerpc-full
2>../gcc-cross-target-uclibc-i386-host-powerpc-errors

The most interesting messages were in full log:
/home/jujux/tmp/gcc-3.4-3.4.4/build/gcc/xgcc
-B/home/jujux/tmp/gcc-3.4-3.4.4/build/gcc/
-B/usr/i486-linux-uclibc/bin/ -B/usr/i486-linux-uclibc/lib/
-isystem /usr/i486-linux-uclibc/include -isystem
/usr/i486-linux-uclibc/sys-include -O2 -DIN_GCC
-DCROSS_COMPILE  -DUSE_UCLIBC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I.
-I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include
 -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -fno-omit-frame-pointer \
  -Dinhibit_libc -c ../../src/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/tmp/ccKRTz7l.s: Assembler messages:
/tmp/ccKRTz7l.s:33: Warning: alignment too large: 15 assumed
/tmp/ccKRTz7l.s:36: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:37: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:38: Error: Unrecognized opcode: `subl'
/tmp/ccKRTz7l.s:39: Error: Unrecognized opcode: `cmpb'
/tmp/ccKRTz7l.s:40: Error: Unrecognized opcode: `je'
/tmp/ccKRTz7l.s:41: Error: Unrecognized opcode: `jmp'
/tmp/ccKRTz7l.s:42: Warning: alignment too large: 15 assumed
/tmp/ccKRTz7l.s:44: Error: Unrecognized opcode: `addl'
/tmp/ccKRTz7l.s:45: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:46: Error: Unrecognized opcode: `call'
/tmp/ccKRTz7l.s:48: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:49: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:50: Error: Unrecognized opcode: `testl'
/tmp/ccKRTz7l.s:51: Error: Unrecognized opcode: `jne'
/tmp/ccKRTz7l.s:52: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:53: Error: Unrecognized opcode: `testl'
/tmp/ccKRTz7l.s:54: Error: Unrecognized opcode: `je'
/tmp/ccKRTz7l.s:55: Error: Unrecognized opcode: `subl'
/tmp/ccKRTz7l.s:56: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:57: Error: Unrecognized opcode: `call'
/tmp/ccKRTz7l.s:58: Error: Unrecognized opcode: `addl'
/tmp/ccKRTz7l.s:60: Error: Unrecognized opcode: `movb'
/tmp/ccKRTz7l.s:62: Error: Unrecognized opcode: `leave'
/tmp/ccKRTz7l.s:63: Error: Unrecognized opcode: `ret'
/tmp/ccKRTz7l.s:66: Error: Unrecognized opcode: `call'
/tmp/ccKRTz7l.s:71: Warning: alignment too large: 15 assumed
/tmp/ccKRTz7l.s:74: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:75: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:76: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:78: Error: Unrecognized opcode: `call'
/tmp/ccKRTz7l.s:80: Error: Unrecognized opcode: `popl'
/tmp/ccKRTz7l.s:81: Error: Unrecognized opcode: `addl'
/tmp/ccKRTz7l.s:83: Error: Unrecognized opcode: `subl'
/tmp/ccKRTz7l.s:84: Error: Unrecognized opcode: `testl'
/tmp/ccKRTz7l.s:85: Error: Unrecognized opcode: `je'
/tmp/ccKRTz7l.s:86: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:87: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:88: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:89: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:90: Error: Unrecognized opcode: `call'
/tmp/ccKRTz7l.s:91: Error: Unrecognized opcode: `addl'
/tmp/ccKRTz7l.s:93: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:94: Error: Unrecognized opcode: `testl'
/tmp/ccKRTz7l.s:95: Error: Unrecognized opcode: `je'
/tmp/ccKRTz7l.s:96: Error: Unrecognized opcode: `movl'
/tmp/ccKRTz7l.s:97: Error: Unrecognized opcode: `testl'
/tmp/ccKRTz7l.s:98: Error: Unrecognized opcode: `je'
/tmp/ccKRTz7l.s:99: Error: Unrecognized opcode: `subl'
/tmp/ccKRTz7l.s:100: Error: Unrecognized opcode: `pushl'
/tmp/ccKRTz7l.s:101: Error: Unrecognized opcode: `call'
/tmp/ccKRTz7l.s:102: Error: Unrecognized opcode: `addl'
/tmp/ccKRTz7l.s:103: Warning: alignment too large: 15 assumed
/tmp/ccKRTz7l.s:105: Error: Unrecognized opcode: `leave'
/tmp/ccKRTz7l.s:106: Error: Unrecognized opcode: `ret'
/tmp/ccKRTz7l.s:109: Error: Unrecognized opcode: `call'
make[3]: *** [crtbegin.o] Error 1
make[3]: Leaving directory
`/home/jujux/tmp/gcc-3.4-3.4.4/build/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory `/home/jujux/tmp/gcc-3.4-3.4.4/build'
s=`cat status`; rm -f status; test $s -eq 0

Maybe do I need to increase the errors number for gcc. If
someone think so too, can he explain me how to do so ?

Best regards
Julien

PS: I'm writing a pre-1 step for host toolchain building,
especially for dpkg, dpkg-cross building and gcc-3.4-base.
That's not a hard step, but can be interesting for beginners(?).

Accédez au courrier électronique de La Poste : www.laposte.net
3615 LAPOSTENET (0,34 ?/mn)




Reply to: