From owner-freebsd-current@FreeBSD.ORG Fri Jun 11 20:38:42 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A1D1065678 for ; Fri, 11 Jun 2010 20:38:42 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 50C148FC0A for ; Fri, 11 Jun 2010 20:38:41 +0000 (UTC) Received: (qmail 4763 invoked by uid 399); 11 Jun 2010 20:38:40 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 11 Jun 2010 20:38:40 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4C129ECE.8040709@FreeBSD.org> Date: Fri, 11 Jun 2010 13:38:38 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100330 Thunderbird/3.0.4 MIME-Version: 1.0 To: Ed Schouten References: <4C128548.8090505@fgznet.ch> <20100611185237.GL56080@hoeg.nl> <20100611.132052.271446115462387749.imp@bsdimp.com> <20100611203544.GA1797@hoeg.nl> In-Reply-To: <20100611203544.GA1797@hoeg.nl> X-Enigmail-Version: 1.0.1 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: andreast-list@fgznet.ch, "M. Warner Losh" , freebsd-current@freebsd.org Subject: Re: How to disable CLANG & co build in buildworld? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 11 Jun 2010 20:38:42 -0000 On 06/11/10 13:35, Ed Schouten wrote: > * M. Warner Losh wrote: >> Except that clang isn't quite disabled when cross-building, due to the >> issue I pointed out when the commit went in wrt bsd.own.mk. >> MACHINE_ARCH is still amd64 until we start to build the sparc64 >> binaries, so anything in the bootstrapping part of the build will not >> be disabled. that's one of many reasons disabling things in >> bsd.own.mk based on architecture is going to fail. > > Exactly. I already mentioned this problem on arch@ back in May. That's > why a small portion of LLVM, namely tblgen, is always built. Even though > this will slightly increase the build time, it shouldn't be excessive. > If someone knows of a nice way to fix this, I am more than willing to > get it fixed. What is "this" that needs to be fixed? Or, asked another way, why are we not optimizing for the common case (building world on the machine that it will be run on)? Doug -- ... and that's just a little bit of history repeating. -- Propellerheads Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/