[parisc-linux] XGCC MacOSX/hppa64-linux build error

Thibaut VARENE varenet@esiee.fr
Sat, 19 Jan 2002 20:45:01 +0100


Hi.

I tried to compile an xc on MacOSX 10.1.2 (powerpc-apple-darwin5.2) 
targeting hppa64-linux, following taggart instructions (thanks for you 
patience there :), but the build breaks always at the same point, when 
testing libgcc1.

All the 32bit stuff (binutils, libc, gcc) compiled perfectly fine and is 
operational, and the 64bit binutils compiled fine also (but are they 
working correctly ?)

So here is the error I got:

Testing libgcc1.  Ignore linker warning messages.
/Users/varenet/palinux-builds/xc-build/gcc/gcc/xgcc 
-B/Users/varenet/palinux-builds/xc-build/gcc/gcc/ 
-B/usr/local/palinux/hppa64-linux/bin/ 
-B/usr/local/palinux/hppa64-linux/lib/ -isystem 
/usr/local/palinux/hppa64-linux/include -DCROSS_COMPILE -DIN_GCC    -W 
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem 
./include  libgcc1-test.o -o libgcc1-test \
   -nostartfiles -nostdlib `/Users/varenet/palinux-builds/xc-
build/gcc/gcc/xgcc -B/Users/varenet/palinux-builds/xc-build/gcc/gcc/ 
-B/usr/local/palinux/hppa64-linux/bin/ 
-B/usr/local/palinux/hppa64-linux/lib/ -isystem 
/usr/local/palinux/hppa64-linux/include --print-libgcc-file-name`
collect2: ld terminated with signal 10 [Bus error], core dumped
/usr/local/palinux/hppa64-linux/bin/ld: warning: cannot find entry 
symbol main; defaulting to 0000000000010280
make[1]: *** [libgcc1-test] Erreur 1
make: *** [all-gcc] Erreur 2

Any idea ?

Thibaut VARENE
PA/Linux ESIEE Team
http://www.esiee.fr/puffin