From owner-freebsd-current@FreeBSD.ORG Tue Aug 3 20:11:35 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 E1C5F106567E for ; Tue, 3 Aug 2010 20:11:35 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id A3B7D8FC15 for ; Tue, 3 Aug 2010 20:11:35 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:d10:15c9:32cd:c3fd] (unknown [IPv6:2001:7b8:3a7:0:d10:15c9:32cd:c3fd]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 78C375C43; Tue, 3 Aug 2010 22:11:34 +0200 (CEST) Message-ID: <4C5877F5.4000108@andric.com> Date: Tue, 03 Aug 2010 22:11:33 +0200 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.9pre) Gecko/20100723 Lanikai/3.1.2pre MIME-Version: 1.0 To: Tijl Coosemans References: <669395.75282.qm@web59104.mail.re1.yahoo.com> <4C56F426.2040309@andric.com> <201008031208.35052.tijl@coosemans.org> In-Reply-To: <201008031208.35052.tijl@coosemans.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, paradox Subject: Re: WITHOUT_CLANG=yes fix 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: Tue, 03 Aug 2010 20:11:36 -0000 On 2010-08-03 12:08, Tijl Coosemans wrote: > How about introducing a MK_CLANG_BOOTSTRAP that defaults to "yes" on > all platforms so you don't have the cross building problem. Setting > WITHOUT_CLANG would force it to "no". Well, in some local patches I already have a WITH_CLANG_BOOTSTRAP setting, but it means "bootstrap the whole buildworld (and buildkernel) with clang". And it still builds tblgen regardless of MK_CLANG or MK_CLANG_BOOTSTRAP. :) I guess some solution needs to be found first for the cross-building issues that Warner pointed out. If those are solved, it should be easy enough to disable building of tblgen and other tools that are not needed for the cross-tools stage, and/or for the subsequent buildworld.