This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49811] Crash at __do_global_dtors_aux when compiled with '-shared -static'
- From: "nn.dm55 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 7 Aug 2011 23:13:32 +0000
- Subject: [Bug c++/49811] Crash at __do_global_dtors_aux when compiled with '-shared -static'
- Auto-submitted: auto-generated
- References: <bug-49811-4@http.gcc.gnu.org/bugzilla/>
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.