This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Shared library annoyance with gcc-3_0-branch
- To: torvalds at transmeta dot com (Linus Torvalds)
- Subject: Re: Shared library annoyance with gcc-3_0-branch
- From: Joe Buck <jbuck at synopsys dot COM>
- Date: Tue, 20 Feb 2001 11:11:37 -0800 (PST)
- Cc: bosch at gnat dot com (Geert Bosch), dewar at gnat dot com, rth at redhat dot com, aoliva at redhat dot com, gcc at gcc dot gnu dot org
Geert Bosch wrote:
> > This restriction is unfortunate though, since it never was the case that
> > the gcc library had such state, so it was perfectly fine to have multiple
> > copies. I really think we should have moved the exception stuff into a
> > separate library.
Linus Torvalds writes:
> Is it too late to revisit just this decision, and at leat try to "factor
> out" the problem a bit? libgcc is needed by a _lot_ of programs,
> especially on some architectures. While exception handling is not
> necessarily an issue for many people.
Clearly enough people have raised issues with effects of shared libgcc
that we may have to consider some changes, so nothing is final.
But we can't just move exception handling to a language-specific library,
because we are attempting to support cross-language exception mechanisms
(for example, C++ and Ada).
> That way, even if no good solution that makes everybody happy is found, at
> least we confine the problem case a bit..
Let's not give up on making everybody happy just yet.