This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Problematic linking between glibc and shared libgcc
- To: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>
- Subject: Re: Problematic linking between glibc and shared libgcc
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 15 Feb 2001 15:27:40 -0800
- Cc: gcc at gcc dot gnu dot org, libc-alpha at sources dot redhat dot com
- References: <01021523111501.01075@enzo.bigblue.local>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Franz Sirl <Franz.Sirl-kernel@lauterbach.com> writes:
> The problem is that / and /usr are on different partitions (yes, I know this
> is a silly setup with todays HD sizes, but a lot of systems out there are
> configured this way)
It's not silly. There are very good reasons for such a setup and it's
entirely gcc fault. I've pointed this out over and over again in the
last years, trying to fight this shared libgcc. But of course nobody
listens.
Installing libgcc in / means that
a) there will only be one libgcc.so which means you'll never be able
to update your gcc in fear of installing a libgcc with incompatible
interface
or
b) you'll have to duplicate the lib-gcc hierachy in / (or /lib).
The best solution is to override the decision and not compile libgcc
as a DSO.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------