Fix PR55599/sanitizer by disabling static libasan on darwin
From-SVN: r194257
This commit is contained in:
parent
9e04d8a2a0
commit
3157880f53
@ -1,3 +1,8 @@
|
||||
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:\
|
||||
|
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
2
libsanitizer/configure
vendored
2
libsanitizer/configure
vendored
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user