From owner-freebsd-current@FreeBSD.ORG Thu Sep 25 20:10:00 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 48EC6E97; Thu, 25 Sep 2014 20:10:00 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A3BD951; Thu, 25 Sep 2014 20:09:59 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1XXFMU-0002I7-0n; Thu, 25 Sep 2014 20:09:58 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id s8PK9uWC003830; Thu, 25 Sep 2014 14:09:57 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19Jzgl9TdkOrO6rAUQOzNGX X-Authentication-Warning: paranoia.hippie.lan: Host revolution.hippie.lan [172.22.42.240] claimed to be [172.22.42.240] Subject: Re: Poor state of the build infrastructure. From: Ian Lepore To: John Baldwin In-Reply-To: <201409251450.18627.jhb@freebsd.org> References: <4496BEA3-9F6C-4F09-B8F6-68D97A331A60@xcllnt.net> <1643827.epFl9jnZN1@ralph.baldwin.cx> <201409251450.18627.jhb@freebsd.org> Content-Type: text/plain; charset="us-ascii" Date: Thu, 25 Sep 2014 14:09:56 -0600 Message-ID: <1411675796.66615.252.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Marcel Moolenaar X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 20:10:00 -0000 On Thu, 2014-09-25 at 14:50 -0400, John Baldwin wrote: > On Wednesday, September 24, 2014 7:33:46 pm Marcel Moolenaar wrote: > > > > On Sep 24, 2014, at 12:54 PM, John Baldwin wrote: > > > > > On Tuesday, September 23, 2014 09:29:48 AM Marcel Moolenaar wrote: > > >> What is going on here? > > >> Are we still in some kind of flux and people aren't done yet or is > > >> this the intended state by virtue of noone having anything left on > > >> there TODO list? > > > > > > Sorry to ask a dumb question, but are you sure you did the make buildworld > > > first? Shouldn't that have errored if it couldn't build crt1? > > > > The root cause problem was that MAKEOBJDIRPREFIX was not set > > to whatever it was set to during buildworld. That was easy > > enough to figure out when a bunch of things don't add up. > > Ok. > > > But neither problem mentioned in the email had anything to > > do with MAKEOBJDIRPREFIX. Having to set the COMPILER_TYPE > > as part of an install is a bug. Entering a powerpc buildenv > > and having a compiler that builds for the host (or maybe > > just some default) is a regression. > > Agreed on COMPILER_TYPE, but I think the path thing has always been true in > make buildenv because we don't build cross-tools for things like 'cp'. > Just to be clear, all the problems in the original mail, including failure to detect COMPILER_TYPE automatically and building the wrong type of binaries, were fallout from the original problem of not setting MAKEOBJDIRPREFIX correctly. It turns out if you use the build system correctly, it works! (Unfortunately, using it correctly requires knowing about a whole lotta knobs to be set these days if your needs are not vanilla.) -- Ian