From owner-svn-src-all@FreeBSD.ORG Thu Feb 10 16:21:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07D62106566B; Thu, 10 Feb 2011 16:21:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7EDCC8FC0A; Thu, 10 Feb 2011 16:21:07 +0000 (UTC) Received: by vws9 with SMTP id 9so981585vws.13 for ; Thu, 10 Feb 2011 08:21:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=h7hiMKnIbvyfC/Rgtl4mfUWu+j6oOqyseh2oPezkiU0=; b=om60QhdP6CkvZYNqDDKbfeonLzlrbKvQ3sm0Q0fP+m+7EWUrMxiQt/jBKoJPKOC1+4 Yrd3c7lUlElc7/cMQTFgmKuCzrsUxuhdSkVpZ+DrJN5bNdFeMg7OCwqUnnHHYBiey02u 0PacT9EwtQWPEVC5ZpTYXRUchaxqSimR1NFdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=AU/BYe5jXlByXVI4wfVZG3YXTGAAwIjD4b9OG9c9Pp5r9iH2YaLYkn0giOE/MeMizA nFNyutU20ztg5dxnUAEiHv1S4MqvfVPeHkmXliJVk5rTiGhapVXvDxHdgDX6jpi4L0Fw 9h9qqwmY5mpN+3BJHS/6S4Encwx5m9BQl2pEA= MIME-Version: 1.0 Received: by 10.220.192.74 with SMTP id dp10mr5536924vcb.156.1297354865515; Thu, 10 Feb 2011 08:21:05 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.220.198.203 with HTTP; Thu, 10 Feb 2011 08:21:05 -0800 (PST) In-Reply-To: <20110210134108.D80258@maildrop.int.zabbadoz.net> References: <201101311517.p0VFHl9F028038@svn.freebsd.org> <20110210134108.D80258@maildrop.int.zabbadoz.net> Date: Fri, 11 Feb 2011 00:21:05 +0800 X-Google-Sender-Auth: BGP83Wxtd1aM8qbWvvdvfvj8Yk0 Message-ID: From: Adrian Chadd To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Warner Losh Subject: Re: svn commit: r218130 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 16:21:08 -0000 So when I run this: adrian@ref8-amd64:/scratch/tmp/adrian/head/src$ env BUILD_FLAGS=3D"NOCLEAN=3D1 NO_CLEAN=3D1" ../../build/build-scripts/bin/buil= d rspro buildworld MAKEOBJDIRPREFIX: /scratch/tmp/adrian/head/src/../obj/mipseb/ env=3DMAKEOBJDIRPREFIX=3D/scratch/tmp/adrian/head/src/../obj/mipseb/ make NOCLEAN=3D1 NO_CLEAN=3D1 TARGET=3Dmips TARGET_ARCH=3Dmipseb TARGET_CPUTYPE=3Dmips32 KERNCONF=3DRSPRO_STANDALONE DESTDIR=3D/scratch/tmp/adrian/head/src/../root/mipseb LOCAL_DIRS=3Dtools/tools/ath buildworld I get this: =3D=3D=3D> usr.bin/rpcgen (obj,depend,all,install) sh /scratch/tmp/adrian/head/src/tools/install.sh -s -o root -g wheel -m 555 rpcgen /scratch/tmp/adrian/head/src/../obj/mipseb//mips.mipseb/scratch/tmp/adrian/= head/src/tmp/legacy/usr/bin =3D=3D=3D> usr.bin/sed (obj,depend,all,install) make: don't know how to make /scratch/tmp/adrian/head/obj-i386/i386.i386/scratch/tmp/adrian/head/src/tmp= /usr/include/sys/cdefs.h. Stop *** Error code 2 Stop in /scratch/tmp/adrian/head/src. *** Error code 1 Stop in /scratch/tmp/adrian/head/src. *** Error code 1 Stop in /scratch/tmp/adrian/head/src. Adrian On 10 February 2011 21:45, Bjoern A. Zeeb wrote: > On Mon, 31 Jan 2011, Warner Losh wrote: > >> Author: imp >> Date: Mon Jan 31 15:17:47 2011 >> New Revision: 218130 >> URL: http://svn.freebsd.org/changeset/base/218130 >> >> Log: >> =A0Move the architecture guessing from Makefile.inc1 to Makefile. =A0We >> =A0need to do this because variables specified on the command line >> =A0override those specified in the Makefile. =A0This is why we also move= d >> =A0from TARGET to _TARGET in Makefile, and then set TARGET on the comman= d >> =A0line when we fork a submake with Makefile.inc1. >> >> =A0This makes mips/mips work again, even without the workaround committe= d to >> =A0lib/libc/Makefile. >> >> Modified: >> =A0head/Makefile >> =A0head/Makefile.inc1 > > Hey, > > not sure if it's a result of this commit or one of the many others: > > env MAKEOBJDIRPREFIX=3D/path/to/obj make -f Makefile.inc1 hierarchy \ > =A0 =A0 =A0 =A0-DWITHOUT_TOOLCHAIN \ > =A0 =A0 =A0 =A0__MAKE_CONF=3D/path/to/make.conf SRCCONF=3D/path/to/src.co= nf \ > =A0 =A0 =A0 =A0DESTDIR=3D/path/to/destdir \ > =A0 =A0 =A0 =A0TARGET=3Di386 > > results in: > > "/path/to/base9-201102092305/Makefile.inc1", line 127: Unknown target :i3= 86. > > This used to work before. TARGET_ARCH is unset, TARGET=3Di386 thus > they differ and thus the check there tries to find "/i386" rather than > just "i386". > > Is it a rather unsupported thing or what's the proper way to fix it? > As a workaround I was also setting TARGET_ARCH=3Di386 for the moment. > > /bz > > -- > Bjoern A. Zeeb =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 You have to have visions! > =A0 =A0 =A0 =A0 Stop bit received. Insert coin for new address family. >