Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm14 for openSUSE:Factory checked in at 2023-06-19 22:50:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm14 (Old) and /work/SRC/openSUSE:Factory/.llvm14.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm14" Mon Jun 19 22:50:13 2023 rev:15 rq:1093400 version:14.0.6 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm14/llvm14.changes 2023-05-11 12:34:08.662897156 +0200 +++ /work/SRC/openSUSE:Factory/.llvm14.new.15902/llvm14.changes 2023-06-19 22:50:21.485490372 +0200 @@ -1,0 +2,12 @@ +Thu Jun 15 23:45:39 UTC 2023 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Make python3-clang noarch again and fix conflicts/provides to + point to %python3_sitelib instead of %python3_sitearch. + +------------------------------------------------------------------- +Tue Jun 13 08:13:42 UTC 2023 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Add patch to fix segmentation fault on aarch64 - boo#1212264: + * llvm14-fix-segfault-on-aarch64.patch + +------------------------------------------------------------------- New: ---- llvm14-fix-segfault-on-aarch64.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm14.spec ++++++ --- /var/tmp/diff_new_pack.6ZHJ1M/_old 2023-06-19 22:50:23.173500257 +0200 +++ /var/tmp/diff_new_pack.6ZHJ1M/_new 2023-06-19 22:50:23.177500280 +0200 @@ -381,6 +381,8 @@ Patch37: llvm-preserve-symbols-used.patch # Fix build with Swig 4.1.0: backport of upstream commits 81fc5f7909a4, f0a25fe0b746. (gh#llvm/llvm-project#58018) Patch38: lldb-swig-4.1.0-build-fix.patch +# Cherry pick from rust llvm project (https://reviews.llvm.org/D146938) - boo#1212264 +Patch39: llvm14-fix-segfault-on-aarch64.patch BuildRequires: binutils-devel >= 2.21.90 BuildRequires: cmake >= 3.13.4 BuildRequires: fdupes @@ -675,8 +677,9 @@ Group: Development/Libraries/Python Requires: libclang%{_soclang} >= %{version} Requires: python3-base -Conflicts: %{python3_sitearch}/clang/ -Provides: %{python3_sitearch}/clang/ +Conflicts: %{python3_sitelib}/clang/ +Provides: %{python3_sitelib}/clang/ +BuildArch: noarch %description -n python3-clang%{_sonum} This package contains the Python bindings to clang (C language) @@ -811,6 +814,7 @@ %patch27 -p2 %patch33 -p2 %patch37 -p2 +%patch39 -p2 pushd clang-%{_version}.src %patch2 -p1 ++++++ llvm14-fix-segfault-on-aarch64.patch ++++++ >From 2e1b838a889f9793d4bcd5dbfe10db9796b77143 Mon Sep 17 00:00:00 2001 From: Graham Markall <gmark...@nvidia.com> Date: Mon, 3 Apr 2023 11:15:36 -0700 Subject: [PATCH] [RuntimeDyld] RuntimeDyldELF: Clear GOTOffsetMap when resetting GOT section. When the GOT section ID is reset, the GOTOffsetMap must also be cleared, otherwise spurious matches can be located when handling GOT relocations in subsequently-linked objects. Fixes Issue #61402 - see https://github.com/llvm/llvm-project/issues/61402. Reviewed By: lhames Differential Revision: https://reviews.llvm.org/D146938 --- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp index 3c7f4ec47eb84..282c357f2de2c 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp @@ -2406,6 +2406,7 @@ Error RuntimeDyldELF::finalizeLoad(const ObjectFile &Obj, } } + GOTOffsetMap.clear(); GOTSectionID = 0; CurrentGOTIndex = 0;