From owner-freebsd-ports@FreeBSD.ORG Sat Dec 29 00:09:13 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FA07294; Sat, 29 Dec 2012 00:09:13 +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 F29078FC08; Sat, 29 Dec 2012 00:09:12 +0000 (UTC) Received: from [192.168.173.56] (242.243.3.202.dsl.dyn.mana.pf [202.3.243.242]) by ainaz.pair.com (Postfix) with ESMTPSA id C51BE3F427; Fri, 28 Dec 2012 19:08:21 -0500 (EST) Date: Fri, 28 Dec 2012 14:08:05 -1000 (TAHT) From: Gerald Pfeifer To: Brendan Fabeny , Baptiste Daroussin Subject: Re: lang/gcc46 In-Reply-To: Message-ID: References: <5015D122.4040608@FreeBSD.org> <501F40DB.900@FreeBSD.org> <501F778C.5040203@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-ports@freebsd.org, Kevin Oberman 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: Sat, 29 Dec 2012 00:09:13 -0000 On Mon, 6 Aug 2012, b. f. wrote: > Oops: I forgot though, that partly due to this policy of not bumping > gcc shared library versions, we have some shared libraries in the base > system that conflict with the shared libraries of the various gcc > ports, and we have been enforcing the right links by inscribing hints > in the binaries to look first in the right gcc port directories. But > if we update lang/gcc from 4.6.x to another major version (e.g. > 4.7.x), the directory changes, and linking for the old binaries will > fail. So let me qualify my earlier answer: you can keep the old > software working with minimal intervention, for example, by adding a > symlink from the old directory to the new one. What we could do, for the canonical version of GCC (lang/gcc, USE_GCC=yes) is install those libraries into /usr/local/lib instead of /usr/local/lib/gccXY as we are doing for lang/gccXY. What do you think? >>> I had patches to do this even without pkgng, but it made things a >>> little more complicated, and didn't seem to be a high priority, so I >>> didn't pursue it. If people feel that it is important, I could work >>> with Gerald to revive that >> Making this change now would benefit a lot of people, now. > Okay, but since I'm not in charge either, it will require (at least) > Gerald's consent. That would be cool. Bapt wanted to look into this as well a few months ago, so perhaps the two of you can (should?) sync before proceeding? Gerald PS: I don't think we should go for the other option, static linking.