This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/55354] [asan] by default, the asan run-time should be linked statically, not dynamically
- From: "konstantin.s.serebryany at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Nov 2012 09:06:26 +0000
- Subject: [Bug other/55354] [asan] by default, the asan run-time should be linked statically, not dynamically
- Auto-submitted: auto-generated
- References: <bug-55354-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55354
--- Comment #16 from Konstantin Serebryany <konstantin.s.serebryany at gmail dot com> 2012-11-19 09:06:26 UTC ---
So, using "-fPIC -ftls-model=initial-exec" is a great idea, it will allow
to build the files once and have both static and dynamic library.
But we need to agree that the dynamic library is noticeably slower.