This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]