Re: rtld or lang/gcc cannot find libgcc_s.so.1

From: Tim Kientzle <tim_at_kientzle.com>
Date: Tue, 21 Feb 2012 21:11:13 -0800
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
Received on Wed Feb 22 2012 - 04:11:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC