diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-22 14:01:31 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-10-17 00:58:47 -0500 |
commit | f58190897de413be3bb7b3dd5248456e4e033521 (patch) | |
tree | 59a2fcf4ba43b91e628306c74a3f70d43066ac25 /bootstrap/llvm16/ppc-gcc-bug.patch | |
parent | dac043277602a70bd6d6171354cc841cb19ef8ee (diff) | |
download | packages-f58190897de413be3bb7b3dd5248456e4e033521.tar.gz packages-f58190897de413be3bb7b3dd5248456e4e033521.tar.bz2 packages-f58190897de413be3bb7b3dd5248456e4e033521.tar.xz packages-f58190897de413be3bb7b3dd5248456e4e033521.zip |
bootstrap/llvm16: Workarounds for PPC test issues
Closes: #1244
Diffstat (limited to 'bootstrap/llvm16/ppc-gcc-bug.patch')
-rw-r--r-- | bootstrap/llvm16/ppc-gcc-bug.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bootstrap/llvm16/ppc-gcc-bug.patch b/bootstrap/llvm16/ppc-gcc-bug.patch new file mode 100644 index 000000000..3c1371dc4 --- /dev/null +++ b/bootstrap/llvm16/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>; |