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
--ewQ5hdP4CtoTt3oD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Running > sudo make TARGET_ARCH=3Damd64 TARGET=3Damd64 DESTDIR=3D/usr/x86_64 -j4 bu= ildworld=20 on > FreeBSD sparcslave.priv.oc.ietfng.org 8.1-STABLE FreeBSD 8.1-STABLE #2 r2= 14092=3D9050e7b-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=3D\"/usr/obj/amd64/usr/src= /tmp/usr\" -DCROSS_COMPILE -I/usr/obj/amd64/usr/src/tmp/usr /src/gnu/usr.bi= n/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/../../.= =2E/../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/= gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/li= bcpp/include -I/usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcclibs/libde= cnumber -DGCC_DRIVER -DDEFAULT_TARGET_VERSION=3D\"4.2.1\" -DDEFAULT_TARGET= _MACHINE=3D\"amd64-undermydesk-freebsd\" -DENABLE_SHARED_LIBGCC -I/usr/ob= j/amd64/usr/src/tmp/legacy/usr/include -c /usr/src/gnu/usr.bin/cc/cc/../../= =2E./../contrib/gcc/gccspec.c > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i38= 6.c: In function 'host_detect_local_cpu': > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i38= 6.c:96: error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i38= 6.c:103: error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i38= 6.c:113: error: impossible constraint in 'asm' > /usr/src/gnu/usr.bin/cc/cc/../../../../contrib/gcc/config/i386/driver-i38= 6.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; --ewQ5hdP4CtoTt3oD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkzLIsoACgkQTeQabvr9Tc+JRACff4Jnb7f1x2Zh3tTOkl6Pl/Iy 8tgAniPynHGvIgTkkeTtAtWZn3BKq4j3 =Zkxa -----END PGP SIGNATURE----- --ewQ5hdP4CtoTt3oD--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101029193850.GH11447>