Date: Fri, 29 Oct 2010 15:38:50 -0400 From: Nathaniel W Filardo <nwf@cs.jhu.edu> To: freebsd-sparc64@freebsd.org, freebsd-stable@freebsd.org Subject: Cross-build failure on sparc64 for TARGET=amd64 Message-ID: <20101029193850.GH11447@gradx.cs.jhu.edu>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Running > sudo make TARGET_ARCH=amd64 TARGET=amd64 DESTDIR=/usr/x86_64 -j4 buildworld on > FreeBSD sparcslave.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #2 r214092=9050e7b-dirty: Thu Oct 21 01:25:54 UTC 2010 root@t@sparcslave.priv.oc.ietfng.org:/usr/obj/usr/src/sys/SLAVKERN sparc64 with /usr/src at e32025d from git://gitorious.org/freebsd/freebsd.git (svn http://svn.freebsd.org/base/stable/8@214488) fails with > cc -O2 -pipe -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr/obj/amd64/usr/src/tmp/usr\" -DCROSS_COMPILE -I/usr/obj/amd64/usr/src/tmp/usr /src/gnu/usr.bin/cc/cc/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/libdecnumber -DGCC_DRIVER -DDEFAULT_TARGET_VERSION=\"4.2.1\" -DDEFAULT_TARGET_MACHINE=\"amd64-undermydesk-freebsd\" -DENABLE_SHARED_LIBGCC -I/usr/obj/amd64/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/gccspec.c > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c: In function 'host_detect_local_cpu': > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:96: error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:103: error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:113: error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i386.c:117: error: impossible constraint in 'asm' > {standard input}: Assembler messages: > {standard input}:92: Error: Unknown opcode: `pushfl' > {standard input}:92: Error: Unknown opcode: `pushfl' > {standard input}:92: Error: Unknown opcode: `popl' > {standard input}:92: Error: Illegal operands > {standard input}:92: Error: Unknown opcode: `xorl' > {standard input}:92: Error: Unknown opcode: `pushl' > {standard input}:92: Error: Unknown opcode: `popfl' > {standard input}:92: Error: Unknown opcode: `pushfl' > {standard input}:92: Error: Unknown opcode: `popl' > {standard input}:92: Error: Unknown opcode: `popfl' > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > 1 error which looks like it's trying to build some x86 code with the host toolchain, not the cross tools. Help? :) Thanks. --nwf; [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzLIsoACgkQTeQabvr9Tc+JRACff4Jnb7f1x2Zh3tTOkl6Pl/Iy 8tgAniPynHGvIgTkkeTtAtWZn3BKq4j3 =Zkxa -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101029193850.GH11447>
