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

problem when cross compile gnumach



Hi,

I just begin to play with Gnu/Hurd devel.
Hurd just work fine on my intel P233 box at work, but when i want to
boot on my PIII at home, gnumach hang avec the serial port detection.
I suppose it's because of somes hardware problems, and i decided to
cross compile a new gnumach kernel with online the features i need.
The cross compiler seem to work (according to the Crosscompiler-HOWTO
from hurddocs.sourceforge.net).

My problem is :

raven:/plus5/gnumach-1.2/obj # CC=i586-pc-gnu-gcc ../configure \
--build=i686-pc-linux-gnu --host=i586-pc-gnu --enable-floppy --enable-ide

checking host system type... i586-pc-gnu
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking for mawk... (cached) gawk
checking build system type... i686-pc-linux-gnu
checking for i586-pc-gnu-gcc... (cached) i586-pc-gnu-gcc -O
checking for gcc... (cached) i586-pc-gnu-gcc -O
checking whether the C compiler (i586-pc-gnu-gcc -O  ) works... yes
checking whether the C compiler (i586-pc-gnu-gcc -O  ) is a cross-compiler... yes
checking whether we are using GNU C... (cached) yes
checking for i586-pc-gnu-ld... (cached) i586-pc-gnu-ld
checking for i586-pc-gnu-nm... (cached) i586-pc-gnu-nm
checking for i586-pc-gnu-mig... (cached) i586-pc-gnu-mig
checking for i586-pc-gnu-make... (cached) make
[...]
(all the tools (gcc,ld,mig, etc) are the goods ones).

raven:/plus5/gnumach-1.2/obj # make

[...]
./../../i386/linux/../../linux/dev/lib/vsprintf.c: In function `linux_vsprintf':
./../linux/dev/include/asm/string.h:551: Invalid `asm' statement:
./../linux/dev/include/asm/string.h:551: fixed or forbidden register 1 (dx) was spilled for class DREG.
make[2]: *** [vsprintf.o] Error 1
make[2]: Leaving directory `/plus5/gnumach-1.2/obj/i386/linux'
make[1]: *** [linux/linux.o] Error 2
make[1]: Leaving directory `/plus5/gnumach-1.2/obj/i386'
make: *** [i386/sysdep.o] Error 2

When i try the CVS version of gnumach, it's just the same message.

thx.

-- 
Denis Bodor
"It's time to join the Hurd and be a GNU !"



Reply to: