From owner-freebsd-stable@FreeBSD.ORG Fri Oct 29 20:11:14 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F02AA10656A5; Fri, 29 Oct 2010 20:11:13 +0000 (UTC) (envelope-from nwf@cs.jhu.edu) Received: from blaze.cs.jhu.edu (blaze.cs.jhu.edu [128.220.13.50]) by mx1.freebsd.org (Postfix) with ESMTP id C3BDC8FC14; Fri, 29 Oct 2010 20:11:12 +0000 (UTC) Received: from gradx.cs.jhu.edu (gradx.cs.jhu.edu [128.220.13.52]) by blaze.cs.jhu.edu (8.14.3/8.14.3) with ESMTP id o9TJcoYP029212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 29 Oct 2010 15:38:51 -0400 (EDT) Received: from gradx.cs.jhu.edu (localhost [127.0.0.1]) by gradx.cs.jhu.edu (8.14.3/8.13.1) with ESMTP id o9TJcoCB030983; Fri, 29 Oct 2010 15:38:50 -0400 Received: (from nwf@localhost) by gradx.cs.jhu.edu (8.14.3/8.13.8/Submit) id o9TJcok3030981; Fri, 29 Oct 2010 15:38:50 -0400 Date: Fri, 29 Oct 2010 15:38:50 -0400 From: Nathaniel W Filardo To: freebsd-sparc64@freebsd.org, freebsd-stable@freebsd.org Message-ID: <20101029193850.GH11447@gradx.cs.jhu.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ewQ5hdP4CtoTt3oD" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) Cc: Subject: Cross-build failure on sparc64 for TARGET=amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 20:11:14 -0000 --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--