diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-03-01 14:40:57 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-03-01 14:40:57 +0000 |
commit | 63cc547f6d85819192afa795e9ade14f0800eda9 (patch) | |
tree | 440c885e2efed9dabf741078b52a178a416ca5c4 /libsanitizer | |
parent | 69a9b14b9646d161bcabbad5d04349abbb0bf1f9 (diff) | |
download | gcc-63cc547f6d85819192afa795e9ade14f0800eda9.zip gcc-63cc547f6d85819192afa795e9ade14f0800eda9.tar.gz gcc-63cc547f6d85819192afa795e9ade14f0800eda9.tar.bz2 |
Darwin, libsanitizer: Adjust minimum supported Darwin version (PR93731).
The current imported libsanitizer code produces kernel panics for
Darwin 11 (macOS 10.7) and is unsupported for earlier versions already.
It is not clear if the current sources are even intended to be supported
on Darwin 11, so this patch causes the default to be build without
sanitizers for Darwin <= 11.
2020-03-01 Iain Sandoe <iain@sandoe.co.uk>
PR sanitizer/93731
* configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by
default only for Darwin versions greater than 12 (macOS 10.8).
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 6 | ||||
-rw-r--r-- | libsanitizer/configure.tgt | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 16b45a4..3ba213a 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,9 @@ +2020-03-01 Iain Sandoe <iain@sandoe.co.uk> + + PR sanitizer/93731 + * configure.tgt (x86_64-*-darwin*, i?86-*-darwin*): Enable by + default only for Darwin versions greater than 12 (macOS 10.8). + 2020-01-24 Maciej W. Rozycki <macro@wdc.com> * configure.ac: Handle `--with-toolexeclibdir='. diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt index 2d93e19..5d46990 100644 --- a/libsanitizer/configure.tgt +++ b/libsanitizer/configure.tgt @@ -60,7 +60,7 @@ case "${target}" in TSAN_TARGET_DEPENDENT_OBJECTS=tsan_rtl_aarch64.lo fi ;; - x86_64-*-darwin1[1-9]* | i?86-*-darwin1[1-9]*) + x86_64-*-darwin1[2-9]* | i?86-*-darwin1[2-9]*) TSAN_SUPPORTED=no ;; x86_64-*-solaris2.11* | i?86-*-solaris2.11*) |