lang/gcc46

Jeffrey Bouquet jeffreybouquet at yahoo.com
Sat Dec 29 03:59:17 UTC 2012


Sorry for the formatting. Reply is below

--- On Fri, 12/28/12, Gerald Pfeifer <gerald at pfeifer.com> wrote:

From: Gerald Pfeifer <gerald at pfeifer.com>
Subject: Re: lang/gcc46
To: "Brendan Fabeny" <bf1783 at gmail.com>, "Baptiste Daroussin" <bapt at FreeBSD.org>
Cc: freebsd-ports at freebsd.org, "Kevin Oberman" <kob6558 at gmail.com>
Date: Friday, December 28, 2012, 4:08 PM

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.
_______________________________________________
freebsd-ports at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

..not  a reply but additional information, I hope it is not to off-topic to this post.  While trying to install gcc46, it wanted gcc46 already installed for some reason.  I had just deleted it "for" the install.  I did a workaround of sorts...


More information about the freebsd-ports mailing list