[Bug sanitizer/56393] SIGSEGV when -fsanitize=address and dynamic lib with global objects

t-gcc-bugzilla at snowelm dot com gcc-bugzilla@gcc.gnu.org
Tue Feb 19 14:02:00 GMT 2013


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



More information about the Gcc-bugs mailing list