From owner-freebsd-amd64@FreeBSD.ORG Thu Mar 4 09:51:22 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 92D0716A4CE for ; Thu, 4 Mar 2004 09:51:22 -0800 (PST) Received: from ares.wolfpond.org (ns1.wolfpond.org [62.212.96.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id C855A43D2D for ; Thu, 4 Mar 2004 09:51:20 -0800 (PST) (envelope-from ftigeot@wolfpond.org) Received: from ares.wolfpond.org (localhost [127.0.0.1]) by ares.wolfpond.org (8.12.10/8.12.10) with ESMTP id i24Hp4xC036474; Thu, 4 Mar 2004 18:51:04 +0100 (CET) (envelope-from greywolf@ares.wolfpond.org) Received: (from greywolf@localhost) by ares.wolfpond.org (8.12.10/8.12.10/Submit) id i24Hp4jU036473; Thu, 4 Mar 2004 18:51:04 +0100 (CET) (envelope-from greywolf) Date: Thu, 4 Mar 2004 18:51:03 +0100 From: Francois Tigeot To: freebsd-amd64@freebsd.org Message-ID: <20040304175103.GA36195@ares.wolfpond.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Cross-compilation to i386 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 17:51:22 -0000 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