[Bug sanitizer/55374] [asan] -static-libasan -static-libstdc++ doesn't work
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 5 15:56:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55374
--- Comment #24 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-02-05 15:55:41 UTC ---
Author: jakub
Date: Tue Feb 5 15:55:31 2013
New Revision: 195761
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=195761
Log:
PR sanitizer/55374
* config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define.
(STATIC_LIBTSAN_LIBS): Likewise.
* gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define.
(LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC
is defined, don't add anything else beyond that.
(SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define.
(LINK_COMMAND_SPEC): Use them.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/gnu-user.h
trunk/gcc/gcc.c
More information about the Gcc-bugs
mailing list