Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2004 18:51:03 +0100
From:      Francois Tigeot <ftigeot@wolfpond.org>
To:        freebsd-amd64@freebsd.org
Subject:   Cross-compilation to i386
Message-ID:  <20040304175103.GA36195@ares.wolfpond.org>

next in thread | raw e-mail | index | archive | help
Greetings,

I'm currently running a 5.2.1-RELEASE/amd64 system and I'm trying to
cross-build an i386 world with the following command :

time nice make buildworld TARGET_ARCH=i386 DESTDIR=/itx

This fails miserably with these error messages :

cc -Os -march=c3 -fno-strict-aliasing -pipe -I/usr/src/sbin/gbde/../../sys -DRESCUE -Wsystem -headers -Werror -Wall -Wno-format-y2k -W -Wstrict-prototypes -Wmissing-prototypes -Wpointer -arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align  -c /usr/src/sys/crypto/sha2/sha2.c
{standard input}: Assembler messages:
{standard input}:92: Error: bignum invalid
{standard input}:93: Error: bignum invalid
[more bignum invalid lines]
{standard input}:191: Error: bignum invalid
*** Error code 1

Stop in /usr/src/sbin/gbde.
*** Error code 1

Stop in /usr/obj/i386/usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue/rescue.
*** Error code 1

Stop in /usr/src/rescue.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1


Since, I didn't find any previous messages on this subject in the
archives, I don't even know if this is supposed to work.

If someone could point me to some documentation on cross-compilation
or buildworld magic, I could try to dig further...

-- 
Francois Tigeot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040304175103.GA36195>