This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 6 GCC regressions, 3 new, with your patch on 2002-02-23T00:54:40Z.
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>, aoliva at redhat dot com, Mark Mitchell <mark at codesourcery dot com>
- Cc: aldyh at redhat dot com, per at bothner dot com, pme at gcc dot gnu dot org, tromey at redhat dot com
- Date: Fri, 22 Feb 2002 23:19:13 -0500
- Subject: Re: 6 GCC regressions, 3 new, with your patch on 2002-02-23T00:54:40Z.
The problem is that both g++spec.c and g77spec.c implicitly add
-shared-libgcc to the commandline.
Basically, we now have no way to distinguish between "add
libgcc.so to the link line" and "only link with libgcc.so".
-shared-libgcc used to mean "add libgcc.so" and -shared used to
mean "only link with libgcc.so" for creating a shared library. The latter
did not create a correct dependency when creating libstdc++.so with
libtool and using the former to build shared libraries breaks AIX.
David