[Bug target/18153] [3.4/4.0 Regression] -static-libgcc links in libunwind.so.7

hjl at lucon dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 15 22:54:00 GMT 2004


------- 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.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18153



More information about the Gcc-bugs mailing list