From owner-freebsd-ports@FreeBSD.ORG Mon Feb 11 15:21:32 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8B784D53 for ; Mon, 11 Feb 2013 15:21:32 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id 6D3088CB for ; Mon, 11 Feb 2013 15:21:32 +0000 (UTC) Received: from [192.168.6.195] (ip-64-134-222-214.public.wayport.net [64.134.222.214]) by ainaz.pair.com (Postfix) with ESMTPSA id 910E13F412; Mon, 11 Feb 2013 10:21:29 -0500 (EST) Date: Mon, 11 Feb 2013 08:21:28 -0700 (MST) From: Gerald Pfeifer To: Anton Shterenlikht Subject: Re: is it a good idea to overwrite GCC_DEFAULT_VERSION= in Mk/bsd.gcc.mk? In-Reply-To: <201302071050.r17AoxNJ078459@mech-cluster241.men.bris.ac.uk> Message-ID: References: <201302071050.r17AoxNJ078459@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 15:21:32 -0000 Hi Anton, On Thu, 7 Feb 2013, Anton Shterenlikht wrote: > Right now the default GCC is GCC_DEFAULT_VERSION= 4.6 > For some time lang/gcc46 doesn't build for me on ia64. > However, lang/gcc47 and lang/gcc48 do. > > There are quite a few ports which I cannot update > because they depend on lang/gcc46 via USE_FORTRAN= yes. > > So I wonder if there are any side effects or unexpected > effects if I just change GCC_DEFAULT_VERSION= to e.g. 4.7? this should work. In my experience most ports that work with GCC 4.6 also should with GCC 4.7, and most have USE_GCC=4.6+ anyway, so other users may well have built them with a later version aleady. One or the other port may exhibit a compile problem, in which case that would be an excellent opportunity to file a report against it and inform its maintainer. > And anyway, 4.7 will be the default soon, right? That's what I have been hoping to do, yes. With the ports build cluster being unavailable for months now, we simply could not do the necessary testing though. Anyone who wants to give this a try, I'd be happy to see that. Gerald