Cross-compilation to i386
Francois Tigeot
ftigeot at wolfpond.org
Thu Mar 4 09:51:22 PST 2004
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
More information about the freebsd-amd64
mailing list