summaryrefslogtreecommitdiff
path: root/bootstrap/llvm18/ppc-gcc-bug.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2024-12-06 19:22:35 +0000
committerZach van Rijn <me@zv.io>2024-12-06 19:22:37 +0000
commit57762abcbf59410fc77ac48a3027bdee08c9291f (patch)
tree089c78d5e2738f92acc7dd22fbc18daa53bfd480 /bootstrap/llvm18/ppc-gcc-bug.patch
parentcf1b9041544c3a70181778535ba310653593e9c3 (diff)
downloadpackages-57762abcbf59410fc77ac48a3027bdee08c9291f.tar.gz
packages-57762abcbf59410fc77ac48a3027bdee08c9291f.tar.bz2
packages-57762abcbf59410fc77ac48a3027bdee08c9291f.tar.xz
packages-57762abcbf59410fc77ac48a3027bdee08c9291f.zip
bootstrap/llvm18: replace symlink with files.
Note: default_llvm="no" Effectively reverts 1c7549b7bb4dcf1142d6c19876841ccc93fcafd5 since 'abuild' uses readlink to derive repository information. The user/llvm18 package is free to be updated independently.
Diffstat (limited to 'bootstrap/llvm18/ppc-gcc-bug.patch')
-rw-r--r--bootstrap/llvm18/ppc-gcc-bug.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/bootstrap/llvm18/ppc-gcc-bug.patch b/bootstrap/llvm18/ppc-gcc-bug.patch
new file mode 100644
index 000000000..3c1371dc4
--- /dev/null
+++ b/bootstrap/llvm18/ppc-gcc-bug.patch
@@ -0,0 +1,22 @@
+Upstream: https://github.com/llvm/llvm-project/issues/95594
+Ref: #1204
+
+--- llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h.old 2024-06-15 12:21:32.000000000 -0500
++++ llvm/include/llvm/ExecutionEngine/Orc/Shared/SimplePackedSerialization.h 2024-06-25 21:42:07.495284340 -0500
+@@ -390,6 +390,8 @@
+ return Size;
+ }
+
++#pragma GCC push_options
++#pragma GCC optimize("no-tree-ch")
+ static bool serialize(SPSOutputBuffer &OB, const SequenceT &S) {
+ if (!SPSArgList<uint64_t>::serialize(OB, static_cast<uint64_t>(S.size())))
+ return false;
+@@ -398,6 +400,7 @@
+ return false;
+ return true;
+ }
++#pragma GCC pop_options
+
+ static bool deserialize(SPSInputBuffer &IB, SequenceT &S) {
+ using TBSD = TrivialSPSSequenceDeserialization<SPSElementTagT, SequenceT>;