From owner-freebsd-stable@FreeBSD.ORG Fri Dec 7 08:09:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31E96682 for ; Fri, 7 Dec 2012 08:09:58 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A836B8FC12 for ; Fri, 7 Dec 2012 08:09:57 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id je9so86590bkc.13 for ; Fri, 07 Dec 2012 00:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=3D+64DF1HX86//rZ2rzdqNA9jQf+9nvAF90wgWArcYM=; b=RbD7iArEMbHZjognmL8SJHd0rdiv33jGL8GM5q1WqevjvmURkKybskQsevx+zxiyNw VQyhk/h2y0AROTWMWpNHRBVljtPqyEGargVbca57K/k8yLzGG3ct8aU1L0h9DEFR/EE1 XBi6rnUEjpPD10G4QUdqPxGq0j6A1OAH2Fbsm/9AZFFuwyqvvKcV95KdGJkCDgj/MDBe u+gEJyYBkfCeqjmiw2Bq7Ex1rIvpImj5TwYU6WYvVC9k1o2yNQp8dZg+4Vh4nGmJ5Fwn Th1hxZf9jEvU6e53jDoPTlwafdkRPLXnfOn08l3pTOM+WQH42H/Xxg8P+cPg45ZJ4vO2 meXg== Received: by 10.204.147.216 with SMTP id m24mr1676694bkv.63.1354867796123; Fri, 07 Dec 2012 00:09:56 -0800 (PST) Received: from Melon.malikania.fr ([130.79.0.44]) by mx.google.com with ESMTPS id hm8sm8126090bkc.10.2012.12.07.00.09.54 (version=SSLv3 cipher=OTHER); Fri, 07 Dec 2012 00:09:55 -0800 (PST) Message-ID: <50C1A43A.8080202@gmail.com> Date: Fri, 07 Dec 2012 09:09:30 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Re: Cannot cross compile 9.1-RELEASE to i386 References: <50C10D78.5020205@gmail.com> In-Reply-To: <50C10D78.5020205@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 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, 07 Dec 2012 08:09:58 -0000 On 06/12/2012 22:26, David Demelier wrote: > Hello, > > I'm trying to make as small as possible a FreeBSD installation for my > Alix 2D2, I did it with 8.1-RELEASE so, a lot of changes appeared I > think. > > I'm trying to make TARGET_ARCH=i386 buildworld and it fails at: > > ===> sys/boot/i386/gptboot (all) > Warning: Object directory not changed from original > /usr/src/sys/boot/i386/gptboot > cc -DBOOTPROG=\"gptboot\" -O1 -DGPT -DUFS1_AND_UFS2 -DSIOPRT=0x3f8 > -DSIOFMT=0x3 -DSIOSPD=9600 > -I/usr/src/sys/boot/i386/gptboot/../../common > -I/usr/src/sys/boot/i386/gptboot/../common > -I/usr/src/sys/boot/i386/gptboot/../btx/lib -I. > -I/usr/src/sys/boot/i386/gptboot/../boot2 > -I/usr/src/sys/boot/i386/gptboot/../../.. -Wall -Waggregate-return > -Wbad-function-cast -Wcast-align -Wmissing-declarations > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow > -Wstrict-prototypes -Wwrite-strings -Winline --param > max-inline-insns-single=100 -ffreestanding > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -msoft-float -std=gnu99 -c gptldr.S > ld -static -N --gc-sections -nostdlib -e start -Ttext 0x7c00 -o > gptldr.out gptldr.o > objcopy -S -O binary gptldr.out gptldr.bin > make: don't know how to make > /usr/src/sys/boot/i386/gptboot/../btx/lib/crt0.o. Stop > *** [all] Error code 2 > > Stop in /usr/src/sys/boot/i386. > *** [all] Error code 1 > > Stop in /usr/src/sys/boot. > *** [all] Error code 1 > > Stop in /usr/src/sys. > *** [sys.all__D] Error code 1 > > Stop in /usr/src. > *** [everything] Error code 1 > > Stop in /usr/src. > *** [buildworld] Error code 1 > > Stop in /usr/src. > > My src.conf is like that: > > WITHOUT_JAIL=yes > WITHOUT_ACPI=yes > WITHOUT_AMD=yes > WITHOUT_APM=yes > WITHOUT_ATM=yes > WITHOUT_AUDIT=yes > WITHOUT_AUTHPF=yes > WITHOUT_BIND=yes > WITHOUT_BLUETOOTH=yes > WITHOUT_BSNMP=yes > WITHOUT_CALENDAR=yes > WITHOUT_CDDL=yes > WITHOUT_CLANG=yes > WITHOUT_CTM=yes > WITHOUT_CVS=yes > WITHOUT_CXX=yes > WITHOUT_DICT=yes > WITHOUT_EXAMPLES=yes > WITHOUT_FDT=yes > WITHOUT_FLOPPY=yes > WITHOUT_FREEBSD_UPDATE=yes > WITHOUT_GAMES=yes > WITHOUT_GCOV=yes > WITHOUT_GDB=yes > WITHOUT_HTML=yes > WITHOUT_INFO=yes > WITHOUT_IPFILTER=yes > WITHOUT_IPFW=yes > WITHOUT_IPX=yes > WITHOUT_JAIL=yes > WITHOUT_KERBEROS=yes > WITHOUT_KERNEL_SYMBOLS=yes > WITHOUT_LOCATE=yes > WITHOUT_MAKE=yes > WITHOUT_NDIS=yes > WITHOUT_NIS=yes > WITHOUT_NLS=yes > WITHOUT_OBJC=yes > WITHOUT_PAM=yes > WITHOUT_PORTSNAP=yes > WITHOUT_PPP=yes > WITHOUT_RCMDS=yes > WITHOUT_SHAREDOCS=yes > WITHOUT_SYSINSTALL=yes > > Did I added a WITHOUT_ that could break or is it a cross-compile > issue? (Host version is amd64). > > Cheers, > The problem was an old CPUTYPE defined in the make.conf, working now :)