[Bug target/18153] [3.4/4.0 Regression] -static-libgcc links in libunwind.so.7
mark at codesourcery dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 15 23:30:00 GMT 2004
------- Additional Comments From mark at codesourcery dot com 2004-12-15 23:30 -------
Subject: Re: [3.4/4.0 Regression] -static-libgcc links
in libunwind.so.7
hjl at lucon dot org wrote:
> ------- Additional Comments From hjl at lucon dot org 2004-12-15 22:54 -------
> We tried very hard to provide -static-libgcc which links against
> libgcc.a and libgcc_eh.a instead of libgcc.a and libgcc_s.so.1.
> The main purpose of -static-libgcc is to link in the copy of
> the unwind stuff. Introduction of libunwind moved the unwind
> stuff from libgcc_s.so.1/libgcc_eh.a into libunwind.so.7/libunwind.a.
> With libunwind, -static-libgcc should still link in the copy of
> the unwind stuff, instead of from a shared library. Otherwise,
> applications which expect that behavior of -static-libgcc won't
> work correctly.
OK. I understand now that your patch is just modifying the static
linking case. In that case, your change is OK.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18153
More information about the Gcc-bugs
mailing list