From owner-freebsd-current@FreeBSD.ORG Thu Sep 12 08:05:15 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7098F342; Thu, 12 Sep 2013 08:05:15 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40CDA2A36; Thu, 12 Sep 2013 08:05:15 +0000 (UTC) Received: from [192.168.0.2] (cpc27-cmbg15-2-0-cust235.5-4.cable.virginmedia.com [86.27.188.236]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r8C85Av1021180 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 12 Sep 2013 08:05:13 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: HEADS UP: No gcc by default in -HEAD on platforms where clang is cc From: David Chisnall In-Reply-To: <20130911200650.GB85978@dragon.NUXI.org> Date: Thu, 12 Sep 2013 09:05:06 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <71A0E032-28FB-4D22-B50A-BDDF3E08DC30@FreeBSD.org> References: <23F19F73-738E-4490-BAE3-590C32FC141C@FreeBSD.org> <20130911200650.GB85978@dragon.NUXI.org> To: obrien@FreeBSD.org X-Mailer: Apple Mail (2.1508) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 12 Sep 2013 08:05:15 -0000 On 11 Sep 2013, at 21:06, "David O'Brien" wrote: > It is still very useful for folks to test changes in order to help = ensure > one doesn't break the build on platforms still using GCC. If you want to do this test, then you should do make universe or make = tinderbox (you should do one or the other before committing anything = already anyway), and these will build the cross-gcc toolchains for = various architectures. The GCC in base is not used when build-testing anything except the = toolchain with our build system. If you want to test building things = with gcc, then you need to build WITHOUT_CLANG_IS_CC (which will build = gcc and then build world with it), or explicitly specify a compiler to = use when testing a smaller component (which can be a gcc you installed = from the base tree, or one from ports - Warner is currently working to = ensure that we'll have the FreeBSD-specific patches forward-ported so = that each of the lang/gcc ports will be able to build FreeBSD). The change is only to the default install. If you are not a FreeBSD = developer, then you are almost certainly not using our gcc: you're = either not a developer at all, in which case you're rarely compiling = things, or you're a developer of other stuff and therefore want a modern = compiler (either clang or lang/gcc). If you are a developer, then a = change to the default install should not be a significant obstacle to = your configuring the system how you want. David