Skip to content

Commit

Permalink
Darwin, libsanitizer: Adjust minimum supported Darwin version (PR93731).
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
iains committed Mar 1, 2020
1 parent 69a9b14 commit 63cc547
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions 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='.
Expand Down
2 changes: 1 addition & 1 deletion libsanitizer/configure.tgt
Expand Up @@ -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*)
Expand Down

0 comments on commit 63cc547

Please sign in to comment.