<pre style='margin:0'>
Daniel J. Luke (danielluke) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6e7c8183b37a23181783c44bce2f0df20d868bc0">https://github.com/macports/macports-ports/commit/6e7c8183b37a23181783c44bce2f0df20d868bc0</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 6e7c8183b37 bind9: work around clang codegen bug
</span>6e7c8183b37 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6e7c8183b37a23181783c44bce2f0df20d868bc0
</span>Author: Daniel J. Luke <dluke@macports.org>
AuthorDate: Sun Oct 1 18:56:16 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> bind9: work around clang codegen bug
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Use this workaround instead so we don't have to force a different
</span><span style='display:block; white-space:pre;color:#404040;'> compiler (sorry for the extra revbumps)
</span>---
net/bind9/Portfile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/bind9/Portfile b/net/bind9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 3820be0b3e1..437dfb70a05 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/bind9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/bind9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup compiler_blacklist_versions 1.0
</span>
name bind9
version 9.18.19
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories net
maintainers {geeklair.net:dluke @danielluke} {jmr @jmroot}
platforms darwin freebsd sunos
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,14 +51,16 @@ universal_variant \
</span> no
# Needs working __atomic_* builtins
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# xcode15 (1500.0.40.1) generates unaligned movaps == crash in libisc isc_random_initialize
</span> compiler.blacklist \
gcc-4.2 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- {clang < 500} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {clang == 1500.0.40.1}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {clang < 500}
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# libisc_random_clang_codgen.patch forces 8 byte alignment for the thread_local variable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# which causes clang to produce a movups insruction instead of an un-aligned movaps instruction
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# we could alternatively build with gcc or figure out which clang version(s) don't have this problem
</span> patchfiles atomics.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- lib_dns_Makefile.in.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lib_dns_Makefile.in.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libisc_random_clang_codegen.patch
</span>
# tests require `sudo bin/tests/system/ifconfig.sh up`
test.run yes
</pre><pre style='margin:0'>
</pre>