This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects
- From: "t-gcc-bugzilla at snowelm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 Feb 2013 14:02:13 +0000
- Subject: [Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects
- Auto-submitted: auto-generated
- References: <bug-56393-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56393
--- Comment #2 from Takaki Makino <t-gcc-bugzilla at snowelm dot com> 2013-02-19 14:02:13 UTC ---
Thanks Kostya.
Unfortunately -static-libasan didn't help:
$ g++ -g -fsanitize=address -I/usr/local/include hoge2.cpp -o a.out
-lboost_thread-mt-d -lboost_system-mt-d -static-libasan
$ ./a.out
Segmentation fault (core dumped