From owner-freebsd-ports@FreeBSD.ORG Wed Sep 12 21:04:36 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id D017A1065690 for ; Wed, 12 Sep 2012 21:04:36 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 29792162D61; Wed, 12 Sep 2012 20:59:59 +0000 (UTC) Message-ID: <5050F7CF.4070204@FreeBSD.org> Date: Wed, 12 Sep 2012 10:59:59 -1000 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <20120910211207.GC64920@lor.one-eyed-alien.net> <20120911104518.GF37286@deviant.kiev.zoral.com.ua> <20120911120649.GA52235@freebsd.org> <20120911122122.GJ37286@deviant.kiev.zoral.com.ua> <20120911123833.GA54483@freebsd.org> <848C813E-E6EC-4FAF-9374-B5583A077404@cederstrand.dk> <505055F7.9020809@FreeBSD.org> <20120912072209.65bc5e3d@scorpio> In-Reply-To: <20120912072209.65bc5e3d@scorpio> X-Enigmail-Version: 1.4.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Jerry Subject: Re: Clang as default compiler November 4th X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2012 21:04:36 -0000 On 9/12/2012 1:22 AM, Jerry wrote: > On Tue, 11 Sep 2012 23:29:27 -1000 > Doug Barton articulated: > >> What we need to do is what I and others have been asking to do for >> years. We need to designate a modern version of gcc (no less than 4.6) >> as the official default ports compiler, and rework whatever is needed >> to support this. Fortunately, that goal is much more easily achieved >> than fixing ports to build and run with clang. (It's harder than it >> sounds because there are certain key libs that define some paths >> depending on what compiler they were built with, but still easier >> than dealing with clang in the short term.) > > That is a well thought out, highly intuitive and completely doable > idea. Therefore it will be ignored. No, it'll be ignored because I suggested it. :) > It seems that the FreeBSD authors are more concerned with the > licensing language of GCC than in getting a fully functioning port's > compiler into the FreeBSD base system. Just to be clear, I'm not suggesting putting the "ports compiler" into the base. I'm suggesting that it be managed as a port, just like pkg is. This works fine for the ports that are already hard-coding compiler dependencies, and mostly worked for me back when I get it a test run when I made the suggestion years ago. The few glitches I (and others who have done it since) ran into just need some elbow grease applied. By keeping ports-related things in the ports tree we gain a huge amount of agility, and lose the concerns about licensing in the base. It's a win/win. Doug