<pre style='margin:0'>
Chris Jones (cjones051073) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/006dc9abc2af6435281d0be246336a82cafb5985">https://github.com/macports/macports-ports/commit/006dc9abc2af6435281d0be246336a82cafb5985</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 006dc9abc2a clang-17, llvm-17: restore functionality on macOS 15 (Xcode 16)
</span>006dc9abc2a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 006dc9abc2af6435281d0be246336a82cafb5985
</span>Author: Mark Mentovai <mark@mentovai.com>
AuthorDate: Tue Sep 24 16:32:45 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> clang-17, llvm-17: restore functionality on macOS 15 (Xcode 16)
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This is a cherry-pick of
</span><span style='display:block; white-space:pre;color:#404040;'> https://github.com/llvm/llvm-project/commit/7939ce39dac0078fef7183d6198598b99c652c88.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This enables clang-17 to be built by Xcode 16, making it possible to
</span><span style='display:block; white-space:pre;color:#404040;'> build on macOS 15, and macOS 14 with Xcode 16. It also enables clang-17
</span><span style='display:block; white-space:pre;color:#404040;'> to be built by clang-18 and newer.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70779
</span>---
lang/llvm-17/Portfile | 3 +-
...ove-cfi-start-s-after-the-symbol-name-NFC.patch | 32 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-17/Portfile b/lang/llvm-17/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ecae0795448..52cfcce2e57 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/llvm-17/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-17/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,7 +18,7 @@ legacysupport.use_static yes
</span> legacysupport.disable_function_wrap yes
categories lang
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms {darwin > 10 < 24}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms {darwin > 10}
</span> license NCSA
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -144,6 +144,7 @@ patchfiles-append \
</span> 0019-10.6-and-less-use-emulated-TLS-before-10.7.patch \
0025-lldb-add-defines-needed-for-older-SDKs.patch \
0026-llvm-set-memrchr-unavailable.patch \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ 0043-builtins-Move-cfi-start-s-after-the-symbol-name-NFC.patch \
</span> 0999-i386-fix.diff \
add-missed-i386-host.diff
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/llvm-17/files/0043-builtins-Move-cfi-start-s-after-the-symbol-name-NFC.patch b/lang/llvm-17/files/0043-builtins-Move-cfi-start-s-after-the-symbol-name-NFC.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f1a5dd25d25
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/llvm-17/files/0043-builtins-Move-cfi-start-s-after-the-symbol-name-NFC.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,32 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From 7939ce39dac0078fef7183d6198598b99c652c88 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Jon Roelofs <jonathan_roelofs@apple.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Fri, 17 Nov 2023 14:21:57 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] [builtins] Move cfi start's after the symbol name [NFC]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+... in preparation for diagnosing improperly nested .cfi regions.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+See https://reviews.llvm.org/D155245
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+---
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler-rt/lib/builtins/assembly.h | 5 +++--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 1 file changed, 3 insertions(+), 2 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/compiler-rt/lib/builtins/assembly.h b/compiler-rt/lib/builtins/assembly.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 169d49683f50..8c42fc773483 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/compiler-rt/lib/builtins/assembly.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/compiler-rt/lib/builtins/assembly.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -260,9 +260,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .globl name SEPARATOR \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SYMBOL_IS_FUNC(name) SEPARATOR \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DECLARE_SYMBOL_VISIBILITY_UNMANGLED(name) SEPARATOR \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CFI_START SEPARATOR \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DECLARE_FUNC_ENCODING \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- name: SEPARATOR BTI_C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ name: \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SEPARATOR CFI_START \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ SEPARATOR BTI_C
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define DEFINE_COMPILERRT_FUNCTION_ALIAS(name, target) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .globl SYMBOL_NAME(name) SEPARATOR \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.46.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>