Skip to content

Commit

Permalink
libsanitizer, darwin: Unsupport Darwin >= 22 for now.
Browse files Browse the repository at this point in the history
The mechanism for location dyld has altered from Darwin22 since dyld is now
in the shared cache.  The implemented mechanism for walking the cache uses
Apple Blocks which GCC does not yet support, and the fallback to the original
mechanism does not work there.

Until a suitable work-around can be found, unsupport Darwin22+.

	Signed-off-by: Iain Sandoe <[email protected]>

libsanitizer/ChangeLog:

	* configure.tgt: Unsupport Darwin22+ until a mechanism can be found
	to locate dyld in the shared cache.
  • Loading branch information
iains committed Apr 18, 2023
1 parent d5904f3 commit e722a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsanitizer/configure.tgt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ case "${target}" in
HWASAN_SUPPORTED=yes
fi
;;
x86_64-*-darwin2* | x86_64-*-darwin1[6-9]* | i?86-*-darwin1[6-8]*)
x86_64-*-darwin2[01]* | x86_64-*-darwin1[6-9]* | i?86-*-darwin1[6-8]*)
TSAN_SUPPORTED=no
EXTRA_CXXFLAGS="${EXTRA_CXXFLAGS} -Wl,-undefined,dynamic_lookup"
;;
Expand Down

0 comments on commit e722a1f

Please sign in to comment.