=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libunwind-14.0.6.src.tar.xz => Checksum SHA512 OK for libunwind-14.0.6.src.tar.xz => Checksum BLAKE2s OK for lld-14.0.6.src.tar.xz => Checksum SHA512 OK for lld-14.0.6.src.tar.xz => Checksum BLAKE2s OK for llvm-14.0.6.src.tar.xz => Checksum SHA512 OK for llvm-14.0.6.src.tar.xz => Checksum BLAKE2s OK for llvmlite-0.41.1.tar.gz => Checksum SHA512 OK for llvmlite-0.41.1.tar.gz ===> Installing dependencies for py312-llvmlite-0.41.1 ========================================================================== The following variables will affect the build process of this package, py312-llvmlite-0.41.1. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 311 Based on these variables, the following variables have been set: * PYPACKAGE = python312 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency py312-setuptools-[0-9]*: found py312-setuptools-70.0.0 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency cmake>=3.18: found cmake-3.29.6 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Full dependency python312>=3.12.0: found python312-3.12.4 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for py312-llvmlite-0.41.1 ===> Extracting for py312-llvmlite-0.41.1 ===> Patching for py312-llvmlite-0.41.1 => Applying pkgsrc patches for py312-llvmlite-0.41.1 ===> Creating toolchain wrappers for py312-llvmlite-0.41.1 ===> Configuring for py312-llvmlite-0.41.1 cd /pbulk/work/devel/py-llvmlite/work/llvm-14.0.6.src && for f in /usr/pkgsrc/devel/py-llvmlite/files/llvm*.patch; do patch -Np2 < $f; done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 322c79fff224389b4df9f24ac22965867007c2fa Mon Sep 17 00:00:00 2001 |From: Graham Markall |Date: Mon, 13 Mar 2023 21:35:11 +0000 |Subject: [PATCH] RuntimeDyldELF: Clear the GOTOffsetMap when finalizing the | load | |This needs resetting so that stale entries are not left behind when the |GOT section and index are reset. | |See llvm/llvm#61402: RuntimeDyldELF doesn't clear GOTOffsetMap in |finalizeLoad(), leading to invalid GOT relocations on AArch64 - |https://github.com/llvm/llvm-project/issues/61402. |--- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 1 + | 1 file changed, 1 insertion(+) | |diff --git a/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp |index f92618afdff6..eb3c27a9406a 100644 |--- a/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp |+++ b/llvm-14.0.6.src/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp -------------------------- Patching file lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp using Plan A... Hunk #1 succeeded at 2345. Hmm... Ignoring the trailing garbage. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur a/llvm-14.0.6.src/lib/Support/Unix/Path.inc b/llvm-14.0.6.src/lib/Support/Unix/Path.inc |--- a/llvm-14.0.6.src/lib/Support/Unix/Path.inc 2022-03-14 05:44:55.000000000 -0400 |+++ b/llvm-14.0.6.src/lib/Support/Unix/Path.inc 2022-09-19 11:30:59.000000000 -0400 -------------------------- Patching file lib/Support/Unix/Path.inc using Plan A... Hunk #1 succeeded at 1462. Hunk #2 succeeded at 1491. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -ur a/llvm-14.0.6.src/unittests/Support/Path.cpp b/llvm-14.0.6.src/unittests/Support/Path.cpp |--- a/llvm-14.0.6.src/unittests/Support/Path.cpp 2022-03-14 05:44:55.000000000 -0400 |+++ b/llvm-14.0.6.src/unittests/Support/Path.cpp 2022-09-19 11:33:07.000000000 -0400 -------------------------- Patching file unittests/Support/Path.cpp using Plan A... Hunk #1 succeeded at 2267. Hunk #2 succeeded at 2297. done Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |From 9de32f5474f1f78990b399214bdbb6c21f8f098e Mon Sep 17 00:00:00 2001 |From: Ivan Butygin |Date: Sun, 24 Jul 2022 20:31:29 +0200 |Subject: [PATCH] Fixes vectorizer and extends SVML support | |Fixes vectorizer and extends SVML support |Patch was updated to fix SVML calling convention issues uncovered by llvm 10. |In previous versions of patch SVML calling convention was selected based on |compilation settings. So if you try to call 256bit vector function from avx512 |code function will be called with avx512 cc which is incorrect. To fix this |SVML cc was separated into 3 different cc for 128, 256 and 512bit vector lengths |which are selected based on actual input vector length. | |Original patch merged several fixes: | |1. https://reviews.llvm.org/D47188 patch fixes the problem with improper calls |to SVML library as it has non-standard calling conventions. So accordingly it |has SVML calling conventions definitions and code to set CC to the vectorized |calls. As SVML provides several implementations for the math functions we also |took into consideration fast attribute and select more fast implementation in |such case. This work is based on original Matt Masten's work. |Author: Denis Nagorny | |2. https://reviews.llvm.org/D53035 patch implements support to legalize SVML |calls by breaking down the illegal vector call instruction into multiple legal |vector call instructions during code generation. Currently the vectorizer does |not check legality of the generated SVML (or any VECLIB) call instructions, and |this can lead to potential problems even during vector type legalization. This |patch addresses this issue by adding a legality check during code generation and |replaces the illegal SVML call with corresponding legalized instructions. |(RFC: http://lists.llvm.org/pipermail/llvm-dev/2018-June/124357.html) |Author: Karthik Senthil | |diff --git a/llvm-14.0.6.src/include/llvm/Analysis/TargetLibraryInfo.h b/llvm-14.0.6.src/include/llvm/Analysis/TargetLibraryInfo.h |index 17d1e3f770c14..110ff08189867 100644 |--- a/llvm-14.0.6.src/include/llvm/Analysis/TargetLibraryInfo.h |+++ b/llvm-14.0.6.src/include/llvm/Analysis/TargetLibraryInfo.h -------------------------- Patching file include/llvm/Analysis/TargetLibraryInfo.h using Plan A... Hunk #1 succeeded at 39. Hunk #2 succeeded at 163. Hunk #3 succeeded at 172. Hunk #4 succeeded at 335. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/include/llvm/AsmParser/LLToken.h b/llvm-14.0.6.src/include/llvm/AsmParser/LLToken.h |index 78ebb35e0ea4d..3ffb57db8b18b 100644 |--- a/llvm-14.0.6.src/include/llvm/AsmParser/LLToken.h |+++ b/llvm-14.0.6.src/include/llvm/AsmParser/LLToken.h -------------------------- Patching file include/llvm/AsmParser/LLToken.h using Plan A... Hunk #1 succeeded at 133. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/include/llvm/IR/CMakeLists.txt b/llvm-14.0.6.src/include/llvm/IR/CMakeLists.txt |index 0498fc269b634..23bb3de41bc1a 100644 |--- a/llvm-14.0.6.src/include/llvm/IR/CMakeLists.txt |+++ b/llvm-14.0.6.src/include/llvm/IR/CMakeLists.txt -------------------------- Patching file include/llvm/IR/CMakeLists.txt using Plan A... Hunk #1 succeeded at 20. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/include/llvm/IR/CallingConv.h b/llvm-14.0.6.src/include/llvm/IR/CallingConv.h |index fd28542465225..096eea1a8e19b 100644 |--- a/llvm-14.0.6.src/include/llvm/IR/CallingConv.h |+++ b/llvm-14.0.6.src/include/llvm/IR/CallingConv.h -------------------------- Patching file include/llvm/IR/CallingConv.h using Plan A... Hunk #1 succeeded at 252. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/include/llvm/IR/SVML.td b/llvm-14.0.6.src/include/llvm/IR/SVML.td |new file mode 100644 |index 0000000000000..5af710404c9d9 |--- /dev/null |+++ b/llvm-14.0.6.src/include/llvm/IR/SVML.td -------------------------- (Creating file include/llvm/IR/SVML.td...) Patching file include/llvm/IR/SVML.td using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Analysis/CMakeLists.txt b/llvm-14.0.6.src/lib/Analysis/CMakeLists.txt |index aec84124129f4..98286e166fbe2 100644 |--- a/llvm-14.0.6.src/lib/Analysis/CMakeLists.txt |+++ b/llvm-14.0.6.src/lib/Analysis/CMakeLists.txt -------------------------- Patching file lib/Analysis/CMakeLists.txt using Plan A... Hunk #1 succeeded at 150. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Analysis/TargetLibraryInfo.cpp b/llvm-14.0.6.src/lib/Analysis/TargetLibraryInfo.cpp |index 02923c2c7eb14..83abde28a62a4 100644 |--- a/llvm-14.0.6.src/lib/Analysis/TargetLibraryInfo.cpp |+++ b/llvm-14.0.6.src/lib/Analysis/TargetLibraryInfo.cpp -------------------------- Patching file lib/Analysis/TargetLibraryInfo.cpp using Plan A... Hunk #1 succeeded at 110. Hunk #2 succeeded at 1881. Hunk #3 succeeded at 1903. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/AsmParser/LLLexer.cpp b/llvm-14.0.6.src/lib/AsmParser/LLLexer.cpp |index e3bf41c9721b6..4f9dccd4e0724 100644 |--- a/llvm-14.0.6.src/lib/AsmParser/LLLexer.cpp |+++ b/llvm-14.0.6.src/lib/AsmParser/LLLexer.cpp -------------------------- Patching file lib/AsmParser/LLLexer.cpp using Plan A... Hunk #1 succeeded at 603. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/AsmParser/LLParser.cpp b/llvm-14.0.6.src/lib/AsmParser/LLParser.cpp |index 432ec151cf8ae..3bd6ee61024b8 100644 |--- a/llvm-14.0.6.src/lib/AsmParser/LLParser.cpp |+++ b/llvm-14.0.6.src/lib/AsmParser/LLParser.cpp -------------------------- Patching file lib/AsmParser/LLParser.cpp using Plan A... Hunk #1 succeeded at 1781. Hunk #2 succeeded at 1853. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/CodeGen/ReplaceWithVeclib.cpp b/llvm-14.0.6.src/lib/CodeGen/ReplaceWithVeclib.cpp |index 0ff045fa787e8..175651949ef85 100644 |--- a/llvm-14.0.6.src/lib/CodeGen/ReplaceWithVeclib.cpp |+++ b/llvm-14.0.6.src/lib/CodeGen/ReplaceWithVeclib.cpp -------------------------- Patching file lib/CodeGen/ReplaceWithVeclib.cpp using Plan A... Hunk #1 succeeded at 157. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/IR/AsmWriter.cpp b/llvm-14.0.6.src/lib/IR/AsmWriter.cpp |index 179754e275b03..c4e95752c97e8 100644 |--- a/llvm-14.0.6.src/lib/IR/AsmWriter.cpp |+++ b/llvm-14.0.6.src/lib/IR/AsmWriter.cpp -------------------------- Patching file lib/IR/AsmWriter.cpp using Plan A... Hunk #1 succeeded at 306. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/IR/Verifier.cpp b/llvm-14.0.6.src/lib/IR/Verifier.cpp |index 989d01e2e3950..bae7382a36e13 100644 |--- a/llvm-14.0.6.src/lib/IR/Verifier.cpp |+++ b/llvm-14.0.6.src/lib/IR/Verifier.cpp -------------------------- Patching file lib/IR/Verifier.cpp using Plan A... Hunk #1 succeeded at 2457. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Target/X86/X86CallingConv.td b/llvm-14.0.6.src/lib/Target/X86/X86CallingConv.td |index 4dd8a6cdd8982..12e65521215e4 100644 |--- a/llvm-14.0.6.src/lib/Target/X86/X86CallingConv.td |+++ b/llvm-14.0.6.src/lib/Target/X86/X86CallingConv.td -------------------------- Patching file lib/Target/X86/X86CallingConv.td using Plan A... Hunk #1 succeeded at 498. Hunk #2 succeeded at 520. Hunk #3 succeeded at 1083. Hunk #4 succeeded at 1158. Hunk #5 succeeded at 1273. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Target/X86/X86ISelLowering.cpp b/llvm-14.0.6.src/lib/Target/X86/X86ISelLowering.cpp |index 8bb7e81e19bbd..1780ce3fc6467 100644 |--- a/llvm-14.0.6.src/lib/Target/X86/X86ISelLowering.cpp |+++ b/llvm-14.0.6.src/lib/Target/X86/X86ISelLowering.cpp -------------------------- Patching file lib/Target/X86/X86ISelLowering.cpp using Plan A... Hunk #1 succeeded at 3788. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Target/X86/X86RegisterInfo.cpp b/llvm-14.0.6.src/lib/Target/X86/X86RegisterInfo.cpp |index 130cb61cdde24..9eec3b25ca9f2 100644 |--- a/llvm-14.0.6.src/lib/Target/X86/X86RegisterInfo.cpp |+++ b/llvm-14.0.6.src/lib/Target/X86/X86RegisterInfo.cpp -------------------------- Patching file lib/Target/X86/X86RegisterInfo.cpp using Plan A... Hunk #1 succeeded at 272. Hunk #2 succeeded at 363. Hunk #3 succeeded at 490. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Target/X86/X86Subtarget.h b/llvm-14.0.6.src/lib/Target/X86/X86Subtarget.h |index 5d773f0c57dfb..6bdf5bc6f3fe9 100644 |--- a/llvm-14.0.6.src/lib/Target/X86/X86Subtarget.h |+++ b/llvm-14.0.6.src/lib/Target/X86/X86Subtarget.h -------------------------- Patching file lib/Target/X86/X86Subtarget.h using Plan A... Hunk #1 succeeded at 916. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Transforms/Utils/InjectTLIMappings.cpp b/llvm-14.0.6.src/lib/Transforms/Utils/InjectTLIMappings.cpp |index 047bf5569ded3..59897785f156c 100644 |--- a/llvm-14.0.6.src/lib/Transforms/Utils/InjectTLIMappings.cpp |+++ b/llvm-14.0.6.src/lib/Transforms/Utils/InjectTLIMappings.cpp -------------------------- Patching file lib/Transforms/Utils/InjectTLIMappings.cpp using Plan A... Hunk #1 succeeded at 92. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm-14.0.6.src/lib/Transforms/Vectorize/LoopVectorize.cpp |index 46ff0994e04e7..f472af5e1a835 100644 |--- a/llvm-14.0.6.src/lib/Transforms/Vectorize/LoopVectorize.cpp |+++ b/llvm-14.0.6.src/lib/Transforms/Vectorize/LoopVectorize.cpp -------------------------- Patching file lib/Transforms/Vectorize/LoopVectorize.cpp using Plan A... Hunk #1 succeeded at 712. Hunk #2 succeeded at 4617. Hunk #3 succeeded at 4696. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/lib/Transforms/Vectorize/SLPVectorizer.cpp b/llvm-14.0.6.src/lib/Transforms/Vectorize/SLPVectorizer.cpp |index 644372483edde..342f018b92184 100644 |--- a/llvm-14.0.6.src/lib/Transforms/Vectorize/SLPVectorizer.cpp |+++ b/llvm-14.0.6.src/lib/Transforms/Vectorize/SLPVectorizer.cpp -------------------------- Patching file lib/Transforms/Vectorize/SLPVectorizer.cpp using Plan A... Hunk #1 succeeded at 6322. Hunk #2 succeeded at 6805. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/test/CodeGen/Generic/replace-intrinsics-with-veclib.ll b/llvm-14.0.6.src/test/CodeGen/Generic/replace-intrinsics-with-veclib.ll |index df8b7c498bd00..63a36549f18fd 100644 |--- a/llvm-14.0.6.src/test/CodeGen/Generic/replace-intrinsics-with-veclib.ll |+++ b/llvm-14.0.6.src/test/CodeGen/Generic/replace-intrinsics-with-veclib.ll -------------------------- Patching file test/CodeGen/Generic/replace-intrinsics-with-veclib.ll using Plan A... Hunk #1 succeeded at 10. Hunk #2 succeeded at 37. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll |index a6e191c3d6923..d6e2e11106949 100644 |--- a/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll |+++ b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll -------------------------- Patching file test/Transforms/LoopVectorize/X86/svml-calls-finite.ll using Plan A... Hunk #1 succeeded at 39. Hunk #2 succeeded at 100. Hunk #3 succeeded at 161. Hunk #4 succeeded at 193. Hunk #5 succeeded at 223. Hunk #6 succeeded at 281. Hunk #7 succeeded at 339. Hunk #8 succeeded at 397. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls.ll b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls.ll |index 42c280df6ad02..088bbdcf1aa4a 100644 |--- a/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls.ll |+++ b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-calls.ll -------------------------- Patching file test/Transforms/LoopVectorize/X86/svml-calls.ll using Plan A... Hunk #1 succeeded at 48. Hunk #2 succeeded at 71. Hunk #3 succeeded at 94. Hunk #4 succeeded at 117. Hunk #5 succeeded at 140. Hunk #6 succeeded at 163. Hunk #7 succeeded at 186. Hunk #8 succeeded at 209. Hunk #9 succeeded at 232. Hunk #10 succeeded at 257. Hunk #11 succeeded at 282. Hunk #12 succeeded at 307. Hunk #13 succeeded at 332. Hunk #14 succeeded at 355. Hunk #15 succeeded at 378. Hunk #16 succeeded at 401. Hunk #17 succeeded at 424. Hunk #18 succeeded at 447. Hunk #19 succeeded at 470. Hunk #20 succeeded at 493. Hunk #21 succeeded at 516. Hunk #22 succeeded at 539. Hunk #23 succeeded at 562. Hunk #24 succeeded at 585. Hunk #25 succeeded at 608. Hunk #26 succeeded at 631. Hunk #27 succeeded at 654. Hunk #28 succeeded at 677. Hunk #29 succeeded at 700. Hunk #30 succeeded at 723. Hunk #31 succeeded at 746. Hunk #32 succeeded at 769. Hunk #33 succeeded at 792. Hunk #34 succeeded at 815. Hunk #35 succeeded at 836. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-legal-calls.ll b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-legal-calls.ll |new file mode 100644 |index 0000000000000..326c763994343 |--- /dev/null |+++ b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-legal-calls.ll -------------------------- (Creating file test/Transforms/LoopVectorize/X86/svml-legal-calls.ll...) Patching file test/Transforms/LoopVectorize/X86/svml-legal-calls.ll using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-legal-codegen.ll b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-legal-codegen.ll |new file mode 100644 |index 0000000000000..9422653445dc2 |--- /dev/null |+++ b/llvm-14.0.6.src/test/Transforms/LoopVectorize/X86/svml-legal-codegen.ll -------------------------- (Creating file test/Transforms/LoopVectorize/X86/svml-legal-codegen.ll...) Patching file test/Transforms/LoopVectorize/X86/svml-legal-codegen.ll using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/test/Transforms/Util/add-TLI-mappings.ll b/llvm-14.0.6.src/test/Transforms/Util/add-TLI-mappings.ll |index e8c83c4d9bd1f..615fdc29176a2 100644 |--- a/llvm-14.0.6.src/test/Transforms/Util/add-TLI-mappings.ll |+++ b/llvm-14.0.6.src/test/Transforms/Util/add-TLI-mappings.ll -------------------------- Patching file test/Transforms/Util/add-TLI-mappings.ll using Plan A... Hunk #1 succeeded at 12. Hunk #2 succeeded at 59. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/utils/TableGen/CMakeLists.txt b/llvm-14.0.6.src/utils/TableGen/CMakeLists.txt |index 97df6a55d1b59..199e0285c9e5d 100644 |--- a/llvm-14.0.6.src/utils/TableGen/CMakeLists.txt |+++ b/llvm-14.0.6.src/utils/TableGen/CMakeLists.txt -------------------------- Patching file utils/TableGen/CMakeLists.txt using Plan A... Hunk #1 succeeded at 47. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/utils/TableGen/SVMLEmitter.cpp b/llvm-14.0.6.src/utils/TableGen/SVMLEmitter.cpp |new file mode 100644 |index 0000000000000..a5aeea48db28b |--- /dev/null |+++ b/llvm-14.0.6.src/utils/TableGen/SVMLEmitter.cpp -------------------------- (Creating file utils/TableGen/SVMLEmitter.cpp...) Patching file utils/TableGen/SVMLEmitter.cpp using Plan A... Empty context always matches. Hunk #1 succeeded at 1. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/utils/TableGen/TableGen.cpp b/llvm-14.0.6.src/utils/TableGen/TableGen.cpp |index 2d4a45f889be6..603d0c223b33a 100644 |--- a/llvm-14.0.6.src/utils/TableGen/TableGen.cpp |+++ b/llvm-14.0.6.src/utils/TableGen/TableGen.cpp -------------------------- Patching file utils/TableGen/TableGen.cpp using Plan A... Hunk #1 succeeded at 57. Hunk #2 succeeded at 139. Hunk #3 succeeded at 275. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/utils/TableGen/TableGenBackends.h b/llvm-14.0.6.src/utils/TableGen/TableGenBackends.h |index 71db8dc77b052..86c3a3068c2dc 100644 |--- a/llvm-14.0.6.src/utils/TableGen/TableGenBackends.h |+++ b/llvm-14.0.6.src/utils/TableGen/TableGenBackends.h -------------------------- Patching file utils/TableGen/TableGenBackends.h using Plan A... Hunk #1 succeeded at 93. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff --git a/llvm-14.0.6.src/utils/vim/syntax/llvm.vim b/llvm-14.0.6.src/utils/vim/syntax/llvm.vim |index 205db16b7d8cd..2572ab5a59e1b 100644 |--- a/llvm-14.0.6.src/utils/vim/syntax/llvm.vim |+++ b/llvm-14.0.6.src/utils/vim/syntax/llvm.vim -------------------------- Patching file utils/vim/syntax/llvm.vim using Plan A... Hunk #1 succeeded at 104. done /bin/ln -s llvm-14.0.6.src /pbulk/work/devel/py-llvmlite/work/llvm /bin/ln -s lld-14.0.6.src /pbulk/work/devel/py-llvmlite/work/lld /bin/ln -s libunwind-14.0.6.src /pbulk/work/devel/py-llvmlite/work/libunwind cd /pbulk/work/devel/py-llvmlite/work && mkdir build && cd build && cmake -G'Unix Makefiles' -DCMAKE_INSTALL_PREFIX=/pbulk/work/devel/py-llvmlite/work/llvm-inst -DCMAKE_BUILD_TYPE:STRING=Release -DLLVM_ENABLE_PROJECTS:STRING=lld -DBUILD_SHARED_LIBS:BOOL=OFF -DLLVM_ENABLE_ASSERTIONS:BOOL=ON -DLINK_POLLY_INTO_TOOLS:BOOL=ON -DLLVM_ENABLE_LIBXML2:BOOL=OFF -DHAVE_TERMINFO_CURSES=OFF -DLLVM_ENABLE_TERMINFO=OFF -DHAVE_TERMINFO_NCURSES=OFF -DHAVE_TERMINFO_NCURSESW=OFF -DHAVE_TERMINFO_TERMINFO=OFF -DHAVE_TERMINFO_TINFO=OFF -DHAVE_TERMIOS_H=OFF -DCLANG_ENABLE_LIBXML=OFF -DLIBOMP_INSTALL_ALIASES=OFF -DLLVM_ENABLE_RTTI=OFF -DLLVM_TARGETS_TO_BUILD=all -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly -DLLVM_INCLUDE_UTILS=ON -DLLVM_INCLUDE_BENCHMARKS:BOOL=OFF -DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF ../llvm && /usr/bin/make -j8 && /usr/bin/make -j8 check-llvm-unit && /usr/bin/make install CMake Deprecation Warning at CMakeLists.txt:8 (cmake_policy): The OLD behavior for policy CMP0116 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- The ASM compiler identification is GNU -- Found assembler: /pbulk/work/devel/py-llvmlite/work/.cwrapper/bin/cc -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /pbulk/work/devel/py-llvmlite/work/.cwrapper/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /pbulk/work/devel/py-llvmlite/work/.cwrapper/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- bolt project is disabled -- clang project is disabled -- clang-tools-extra project is disabled -- compiler-rt project is disabled -- cross-project-tests project is disabled -- libc project is disabled -- libclc project is disabled -- libcxx project is disabled -- libcxxabi project is disabled -- libunwind project is disabled -- lld project is enabled -- lldb project is disabled -- mlir project is disabled -- openmp project is disabled -- polly project is disabled -- pstl project is disabled -- flang project is disabled -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for errno.h -- Looking for errno.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for link.h -- Looking for link.h - found -- Looking for malloc/malloc.h -- Looking for malloc/malloc.h - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for signal.h -- Looking for signal.h - found -- Looking for sys/ioctl.h -- Looking for sys/ioctl.h - found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for sysexits.h -- Looking for sysexits.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for valgrind/valgrind.h -- Looking for valgrind/valgrind.h - not found -- Looking for fenv.h -- Looking for fenv.h - found -- Looking for FE_ALL_EXCEPT -- Looking for FE_ALL_EXCEPT - found -- Looking for FE_INEXACT -- Looking for FE_INEXACT - found -- Looking for mach/mach.h -- Looking for mach/mach.h - not found -- Looking for histedit.h -- Looking for histedit.h - found -- Looking for CrashReporterClient.h -- Looking for CrashReporterClient.h - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Looking for pthread_getspecific in pthread -- Looking for pthread_getspecific in pthread - found -- Looking for pthread_rwlock_init in pthread -- Looking for pthread_rwlock_init in pthread - found -- Looking for pthread_mutex_lock in pthread -- Looking for pthread_mutex_lock in pthread - found -- Looking for dlopen in dl -- Looking for dlopen in dl - not found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for pfm_initialize in pfm -- Looking for pfm_initialize in pfm - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found ZLIB: /usr/lib/libz.so (found version "1.2.10") -- Looking for compress2 -- Looking for compress2 - found -- Looking for el_init in edit -- Looking for el_init in edit - found -- Looking for xar_open in xar -- Looking for xar_open in xar - not found -- Looking for arc4random -- Looking for arc4random - found -- Looking for backtrace -- Looking for backtrace - not found -- Found Backtrace: /usr/lib/libexecinfo.so -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Looking for __register_frame -- Looking for __register_frame - found -- Looking for __deregister_frame -- Looking for __deregister_frame - found -- Looking for __unw_add_dynamic_fde -- Looking for __unw_add_dynamic_fde - not found -- Looking for _Unwind_Backtrace -- Looking for _Unwind_Backtrace - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for sysconf -- Looking for sysconf - found -- Looking for getrusage -- Looking for getrusage - found -- Looking for setrlimit -- Looking for setrlimit - found -- Looking for isatty -- Looking for isatty - found -- Looking for futimens -- Looking for futimens - found -- Looking for futimes -- Looking for futimes - found -- Looking for sigaltstack -- Looking for sigaltstack - found -- Looking for lseek64 -- Looking for lseek64 - not found -- Looking for mallctl -- Looking for mallctl - not found -- Looking for mallinfo -- Looking for mallinfo - not found -- Looking for mallinfo2 -- Looking for mallinfo2 - not found -- Looking for malloc_zone_statistics -- Looking for malloc_zone_statistics - not found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for posix_spawn -- Looking for posix_spawn - found -- Looking for pread -- Looking for pread - found -- Looking for sbrk -- Looking for sbrk - found -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strerror_s -- Looking for strerror_s - not found -- Looking for setenv -- Looking for setenv - found -- Looking for dlopen -- Looking for dlopen - found -- Looking for dladdr -- Looking for dladdr - found -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Success -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success -- Looking for __GLIBC__ -- Looking for __GLIBC__ - not found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for proc_pid_rusage -- Looking for proc_pid_rusage - not found -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Failed -- Looking for __atomic_load_8 in atomic -- Looking for __atomic_load_8 in atomic - not found CMake Error at cmake/modules/CheckAtomic.cmake:80 (message): Host compiler appears to require libatomic for 64-bit operations, but cannot find it. Call Stack (most recent call first): cmake/config-ix.cmake:377 (include) CMakeLists.txt:732 (include) -- Configuring incomplete, errors occurred! *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/devel/py-llvmlite *** Error code 1 Stop. make: stopped in /usr/pkgsrc/devel/py-llvmlite