Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 1995 11:36:26 -0800
From:      David Greenman <davidg@Root.COM>
To:        Poul-Henning Kamp <phk@ref.tfs.com>
Cc:        wollman@halloran-eldar.lcs.mit.edu, freebsd-current@FreeBSD.org
Subject:   Re: HEADS UP - About removing libgcc.so.261 
Message-ID:  <199503101936.LAA09487@corbin.Root.COM>
In-Reply-To: Your message of "Fri, 10 Mar 95 11:18:11 PST." <199503101918.LAA04485@ref.tfs.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>> >>> I just ran into a major problem with removing the shared version of
>> >>> gcc (libgcc.so.261.0), it seems that XFree86 3.1 is dynamically linked
>> >>> against this.
>> >> you shouldn't remove it until you are sure you don't need it...
>> >
>> >There is a more serious problem: unless GCC is modified, so long as
>> >you have this shared library, `ld' will prefer it to the static
>> >version, thus ensuring that future binaries require it.
>> 
>>    Poul modified ld to force it to build with the static version. I'm coming
>> up right now with a better fix (to cc) that will tell the linker to use the
>> static version of the library.
>> 
>Actually, I guess I have found an even better solution:
>
>	move ths shared libgcc to /usr/lib/FreeBSD-2.0-compat
>	tell ldconfig about that directory.
>
>ld should not find it, but ldconfig will...

   This will work (and we should do this), but people doing upgrades will
still have the old libgcc.so. I'll be committing a (very) good fix for the
problem shortly.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503101936.LAA09487>