This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/55374] [asan] -static-libasan -static-libstdc++ doesn't work
- From: "kcc at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Jan 2013 09:44:22 +0000
- Subject: [Bug sanitizer/55374] [asan] -static-libasan -static-libstdc++ doesn't work
- Auto-submitted: auto-generated
- References: <bug-55374-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55374
--- Comment #21 from Kostya Serebryany <kcc at gcc dot gnu.org> 2013-01-29 09:44:22 UTC ---
> we could similarly error for
> -static-libstdc++ -fsanitize=address combination.
Maybe.
Generally this works (in clang at least) and no one complained yet.
The bug https://code.google.com/p/address-sanitizer/issues/detail?id=147
was found by code inspection when we were investigating a similar bug in tsan
(now fixed). It should be quite rare in the wild.
Still, "maybe yes".