Commit 3157880f by Jack Howarth Committed by Kostya Serebryany

Fix PR55599/sanitizer by disabling static libasan on darwin

From-SVN: r194257
parent 9e04d8a2
2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
PR 55599/sanitizer
* config/darwin.h (LINK_COMMAND_SPEC_A): Remove static libasan support.
2012-12-06 Jakub Jelinek <jakub@redhat.com>
PR middle-end/43631
......@@ -180,9 +180,7 @@ extern GTY(()) int darwin_ms_struct;
%{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \
%{fopenmp|ftree-parallelize-loops=*: \
%{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \
%{fsanitize=address: \
%{static|static-libasan|static-libgcc|static-libgfortran: -framework CoreFoundation -lstdc++ libasan.a%s; \
static-libstdc++: -framework CoreFoundation libstdc++.a%s libasan.a%s; : -framework CoreFoundation -lasan } } \
%{fsanitize=address: -framework CoreFoundation -lasan } \
%{fgnu-tm: \
%{static|static-libgcc|static-libstdc++|static-libgfortran: libitm.a%s; : -litm } } \
%{!nostdlib:%{!nodefaultlibs:\
......
2012-12-06 Jack Howarth <howarth@bromo.med.uc.edu>
PR 55599/sanitizer
* configure.ac: Set enable_static=no on darwin.
* configure: Regenerated.
2012-12-06 Kostya Serebryany <kcc@google.com>
* All files: Merge from upstream r169392.
......
......@@ -14497,7 +14497,7 @@ fi
case "$host" in
*-*-darwin*) MAC_INTERPOSE=true ;;
*-*-darwin*) MAC_INTERPOSE=true ; enable_static=no ;;
*) MAC_INTERPOSE=false ;;
esac
if $MAC_INTERPOSE; then
......
......@@ -81,7 +81,7 @@ unset TSAN_SUPPORTED
AM_CONDITIONAL(TSAN_SUPPORTED, [test "x$TSAN_SUPPORTED" = "xyes"])
case "$host" in
*-*-darwin*) MAC_INTERPOSE=true ;;
*-*-darwin*) MAC_INTERPOSE=true ; enable_static=no ;;
*) MAC_INTERPOSE=false ;;
esac
AM_CONDITIONAL(USING_MAC_INTERPOSE, $MAC_INTERPOSE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment