Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2012 21:11:13 -0800
From:      Tim Kientzle <tim@kientzle.com>
To:        Daniel Eischen <deischen@freebsd.org>
Cc:        freebsd-current FreeBSD <freebsd-current@freebsd.org>, freebsd-ports@freebsd.org, Steve Kargl <sgk@troutmask.apl.washington.edu>
Subject:   Re: rtld or lang/gcc cannot find libgcc_s.so.1
Message-ID:  <5C146DC6-264B-43A9-9234-9E03315F3D33@kientzle.com>
In-Reply-To: <Pine.GSO.4.64.1202211831220.22739@sea.ntplx.net>
References:  <20120221182850.GA20768@troutmask.apl.washington.edu> <20120221185754.GL55074@deviant.kiev.zoral.com.ua> <20120221194259.GA21185@troutmask.apl.washington.edu> <4F440E8B.9020306@FreeBSD.org> <20120221220053.GA44386@night.db.net> <20120221223251.GA23053@troutmask.apl.washington.edu> <Pine.GSO.4.64.1202211831220.22739@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 21, 2012, at 3:39 PM, Daniel Eischen wrote:

> On Tue, 21 Feb 2012, Steve Kargl wrote:
> 
>> 3) Add a new option to ldconfig to prepend new libraries to
>>  the hints files and fix the ports to use this option instead
>>  of -m.
> 
> You don't want system binaries that want /lib/libgcc_s.so.1
> to use /usr/local/lib/gccXX/libgcc_s.so.1, though.  Wouldn't
> your option 3 do that?

Why not?  Would it cause problems?

Is libgcc from GCC 4.6 incompatible with /lib/libgcc?

If I understand correctly, the libgcc in base is pretty stripped
down compared to "regular" libgcc, because most of that
stuff is in our libc instead.  So if there were compatibility
problems, I'd expect those to show up when GCC 4.6 linked
programs against /usr/local/.../libgcc and /lib/libc.

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5C146DC6-264B-43A9-9234-9E03315F3D33>