From owner-freebsd-current@FreeBSD.ORG Wed Sep 11 20:06:51 2013 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 ESMTP id 284D43FD; Wed, 11 Sep 2013 20:06:51 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0FAED24A3; Wed, 11 Sep 2013 20:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8BK6oEj049101; Wed, 11 Sep 2013 20:06:50 GMT (envelope-from obrien@freefall.freebsd.org) Received: (from obrien@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8BK6oAL049098; Wed, 11 Sep 2013 20:06:50 GMT (envelope-from obrien) Date: Wed, 11 Sep 2013 13:06:50 -0700 From: "David O'Brien" To: David Chisnall Subject: Re: HEADS UP: No gcc by default in -HEAD on platforms where clang is cc Message-ID: <20130911200650.GB85978@dragon.NUXI.org> Mail-Followup-To: obrien@freebsd.org, David Chisnall , freebsd-current@FreeBSD.org References: <23F19F73-738E-4490-BAE3-590C32FC141C@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23F19F73-738E-4490-BAE3-590C32FC141C@FreeBSD.org> X-Operating-System: FreeBSD 10.0-CURRENT X-MUA-Host: dragon.NUXI.org X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-NSA-real-insignia: https://www.eff.org/sites/default/files/nsa-all-your-data.png User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Sep 2013 20:06:51 -0000 On Fri, Sep 06, 2013 at 09:19:32PM +0100, David Chisnall wrote: > As of r255321, we are no longer building gcc or libstdc++ as part of > the default install on platforms where clang is cc. I guess I missed where this was discussed. I don't feel we should not ship 10.0 without /usr/bin/g[c+][c+]. 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. In the past, we've deprecated for a full release and then remove on the next. This is pretty late in the 10.0 game (now in code freeze) to be making such impactful changes. We have no idea how many 3rd party Makefiles (or other build systems) specify "gcc" explicitly. > 2) Put WITH_GCC=yes and WITH_GNUCXX=yes in your src.conf when you build world. > GCC will stay in the base system tree for at least the lifetime of the > 10.x release, and possibly longer if it is still being actively used. > It will remain used by tinderboxes and make universe for some > architectures, so if you commit code without testing with gcc people > will know very soon... Requiring folks to keep remembering to add this knob to any new installation will make it harder for developers to test... Compare to the buildworld time impact of Clang, the GCC build is nothing, so why not just have a WITHOUT_GCC knob for those that want nothing more to do with GCC? -- -- David (obrien@FreeBSD.org)