[Bug c++/49811] Crash at __do_global_dtors_aux when compiled with '-shared -static'

nn.dm55 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Aug 7 23:13:00 GMT 2011


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

--- Comment #3 from Nathan <nn.dm55 at gmail dot com> 2011-08-07 23:13:31 UTC ---
I was trying to make it prefer static libraries to shared libraries.
(In reply to comment #2)
> "-shared -static" does not make sense really.  Are you trying to compile a
> libary that contains all other libraries compiled staticly?  If so then
> "-shared -static" makes sense.  It does not produce an application but rather a
> shared library.



More information about the Gcc-bugs mailing list