public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [pushed] libsanitizer, darwin: Unsupport Darwin >= 22 for now.
@ 2023-04-18  6:30 Iain Sandoe
  2023-04-18  8:04 ` Richard Biener
  0 siblings, 1 reply; 2+ messages in thread
From: Iain Sandoe @ 2023-04-18  6:30 UTC (permalink / raw)
  To: gcc-patches

Tested on x86_64-darwin21,22, pushed to trunk, needed on 13.1,
thanks
Iain

--- 8< ---

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 <iain@sandoe.co.uk>

libsanitizer/ChangeLog:

	* configure.tgt: Unsupport Darwin22+ until a mechanism can be found
	to locate dyld in the shared cache.
---
 libsanitizer/configure.tgt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
index 90b5eaffc48..d24566a2343 100644
--- a/libsanitizer/configure.tgt
+++ b/libsanitizer/configure.tgt
@@ -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"
 	;;
-- 
2.37.1 (Apple Git-137.1)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [pushed] libsanitizer, darwin: Unsupport Darwin >= 22 for now.
  2023-04-18  6:30 [pushed] libsanitizer, darwin: Unsupport Darwin >= 22 for now Iain Sandoe
@ 2023-04-18  8:04 ` Richard Biener
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Biener @ 2023-04-18  8:04 UTC (permalink / raw)
  To: iain; +Cc: gcc-patches, Iain Sandoe

On Tue, Apr 18, 2023 at 8:31 AM Iain Sandoe via Gcc-patches
<gcc-patches@gcc.gnu.org> wrote:
>
> Tested on x86_64-darwin21,22, pushed to trunk, needed on 13.1,

OK for branch.

> thanks
> Iain
>
> --- 8< ---
>
> 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 <iain@sandoe.co.uk>
>
> libsanitizer/ChangeLog:
>
>         * configure.tgt: Unsupport Darwin22+ until a mechanism can be found
>         to locate dyld in the shared cache.
> ---
>  libsanitizer/configure.tgt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libsanitizer/configure.tgt b/libsanitizer/configure.tgt
> index 90b5eaffc48..d24566a2343 100644
> --- a/libsanitizer/configure.tgt
> +++ b/libsanitizer/configure.tgt
> @@ -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"
>         ;;
> --
> 2.37.1 (Apple Git-137.1)
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-18  8:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18  6:30 [pushed] libsanitizer, darwin: Unsupport Darwin >= 22 for now Iain Sandoe
2023-04-18  8:04 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).