Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm21 for openSUSE:Factory checked in at 2025-09-29 16:31:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm21 (Old) and /work/SRC/openSUSE:Factory/.llvm21.new.11973 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm21" Mon Sep 29 16:31:12 2025 rev:3 rq:1307510 version:21.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm21/llvm21.changes 2025-09-17 17:45:15.685046123 +0200 +++ /work/SRC/openSUSE:Factory/.llvm21.new.11973/llvm21.changes 2025-09-29 16:31:42.569115640 +0200 @@ -1,0 +2,8 @@ +Sat Sep 27 15:15:04 UTC 2025 - Aaron Puchert <[email protected]> + +- Update to version 21.1.2. + * This release contains bug-fixes for the LLVM 21.1.0 release. + This release is API and ABI compatible with 21.1.0. +- Rebase llvm-do-not-install-static-libraries.patch. + +------------------------------------------------------------------- Old: ---- clang-21.1.1.src.tar.xz clang-21.1.1.src.tar.xz.sig clang-docs-21.1.1.src.tar.xz clang-tools-extra-21.1.1.src.tar.xz clang-tools-extra-21.1.1.src.tar.xz.sig cmake-21.1.1.src.tar.xz cmake-21.1.1.src.tar.xz.sig compiler-rt-21.1.1.src.tar.xz compiler-rt-21.1.1.src.tar.xz.sig libc-21.1.1.src.tar.xz libcxx-21.1.1.src.tar.xz libcxx-21.1.1.src.tar.xz.sig libcxxabi-21.1.1.src.tar.xz libcxxabi-21.1.1.src.tar.xz.sig lld-21.1.1.src.tar.xz lld-21.1.1.src.tar.xz.sig lldb-21.1.1.src.tar.xz lldb-21.1.1.src.tar.xz.sig llvm-21.1.1.src.tar.xz llvm-21.1.1.src.tar.xz.sig llvm-docs-21.1.1.src.tar.xz openmp-21.1.1.src.tar.xz openmp-21.1.1.src.tar.xz.sig polly-21.1.1.src.tar.xz polly-21.1.1.src.tar.xz.sig runtimes-21.1.1.src.tar.xz runtimes-21.1.1.src.tar.xz.sig third-party-21.1.1.src.tar.xz third-party-21.1.1.src.tar.xz.sig New: ---- clang-21.1.2.src.tar.xz clang-21.1.2.src.tar.xz.sig clang-docs-21.1.2.src.tar.xz clang-tools-extra-21.1.2.src.tar.xz clang-tools-extra-21.1.2.src.tar.xz.sig cmake-21.1.2.src.tar.xz cmake-21.1.2.src.tar.xz.sig compiler-rt-21.1.2.src.tar.xz compiler-rt-21.1.2.src.tar.xz.sig libc-21.1.2.src.tar.xz libcxx-21.1.2.src.tar.xz libcxx-21.1.2.src.tar.xz.sig libcxxabi-21.1.2.src.tar.xz libcxxabi-21.1.2.src.tar.xz.sig lld-21.1.2.src.tar.xz lld-21.1.2.src.tar.xz.sig lldb-21.1.2.src.tar.xz lldb-21.1.2.src.tar.xz.sig llvm-21.1.2.src.tar.xz llvm-21.1.2.src.tar.xz.sig llvm-docs-21.1.2.src.tar.xz openmp-21.1.2.src.tar.xz openmp-21.1.2.src.tar.xz.sig polly-21.1.2.src.tar.xz polly-21.1.2.src.tar.xz.sig runtimes-21.1.2.src.tar.xz runtimes-21.1.2.src.tar.xz.sig third-party-21.1.2.src.tar.xz third-party-21.1.2.src.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm21.spec ++++++ --- /var/tmp/diff_new_pack.93jCtC/_old 2025-09-29 16:31:51.145475096 +0200 +++ /var/tmp/diff_new_pack.93jCtC/_new 2025-09-29 16:31:51.157475599 +0200 @@ -1,7 +1,7 @@ # # spec file for package llvm21 # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %global _sonum 21 %global _minor %{_sonum}.1 %global _soname %{_minor}%{?_rc:-rc%_rc} -%global _patch_level 1 +%global _patch_level 2 %global _relver %{_minor}.%{_patch_level} %global _version %_relver%{?_rc:-rc%_rc} %global _itsme21 1 ++++++ clang-21.1.1.src.tar.xz -> clang-21.1.2.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm21/clang-21.1.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm21.new.11973/clang-21.1.2.src.tar.xz differ: char 15, line 1 ++++++ clang-docs-21.1.1.src.tar.xz -> clang-docs-21.1.2.src.tar.xz ++++++ ++++ 3308 lines of diff (skipped) ++++++ clang-tools-extra-21.1.1.src.tar.xz -> clang-tools-extra-21.1.2.src.tar.xz ++++++ ++++++ cmake-21.1.1.src.tar.xz -> cmake-21.1.2.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cmake-21.1.1.src/Modules/LLVMVersion.cmake new/cmake-21.1.2.src/Modules/LLVMVersion.cmake --- old/cmake-21.1.1.src/Modules/LLVMVersion.cmake 2025-09-09 10:37:15.000000000 +0200 +++ new/cmake-21.1.2.src/Modules/LLVMVersion.cmake 2025-09-23 21:22:24.000000000 +0200 @@ -7,7 +7,7 @@ set(LLVM_VERSION_MINOR 1) endif() if(NOT DEFINED LLVM_VERSION_PATCH) - set(LLVM_VERSION_PATCH 1) + set(LLVM_VERSION_PATCH 2) endif() if(NOT DEFINED LLVM_VERSION_SUFFIX) set(LLVM_VERSION_SUFFIX) ++++++ compiler-rt-21.1.1.src.tar.xz -> compiler-rt-21.1.2.src.tar.xz ++++++ ++++++ libc-21.1.1.src.tar.xz -> libc-21.1.2.src.tar.xz ++++++ ++++++ libcxx-21.1.1.src.tar.xz -> libcxx-21.1.2.src.tar.xz ++++++ ++++++ libcxxabi-21.1.1.src.tar.xz -> libcxxabi-21.1.2.src.tar.xz ++++++ ++++++ lld-21.1.1.src.tar.xz -> lld-21.1.2.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-21.1.1.src/ELF/LinkerScript.cpp new/lld-21.1.2.src/ELF/LinkerScript.cpp --- old/lld-21.1.1.src/ELF/LinkerScript.cpp 2025-09-09 10:37:15.000000000 +0200 +++ new/lld-21.1.2.src/ELF/LinkerScript.cpp 2025-09-23 21:22:24.000000000 +0200 @@ -1021,10 +1021,6 @@ } }; - // For further --emit-reloc handling code we need target output section - // to be created before we create relocation output section, so we want - // to create target sections first. We do not want priority handling - // for synthetic sections because them are special. size_t n = 0; for (InputSectionBase *isec : ctx.inputSections) { // Process InputSection and MergeInputSection. @@ -1037,10 +1033,18 @@ if (ctx.arg.relocatable && (isec->flags & SHF_LINK_ORDER)) continue; - if (auto *sec = dyn_cast<InputSection>(isec)) - if (InputSectionBase *rel = sec->getRelocatedSection()) - if (auto *relIS = dyn_cast_or_null<InputSectionBase>(rel->parent)) - add(relIS); + if (auto *sec = dyn_cast<InputSection>(isec)) { + if (InputSectionBase *relocated = sec->getRelocatedSection()) { + // For --emit-relocs and -r, ensure the output section for .text.foo + // is created before the output section for .rela.text.foo. + add(relocated); + // EhInputSection sections are not added to ctx.inputSections. If we see + // .rela.eh_frame, ensure the output section for the synthetic + // EhFrameSection is created first. + if (auto *p = dyn_cast_or_null<InputSectionBase>(relocated->parent)) + add(p); + } + } add(isec); if (ctx.arg.relocatable) for (InputSectionBase *depSec : isec->dependentSections) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-21.1.1.src/test/ELF/linkerscript/orphan-relocation.s new/lld-21.1.2.src/test/ELF/linkerscript/orphan-relocation.s --- old/lld-21.1.1.src/test/ELF/linkerscript/orphan-relocation.s 1970-01-01 01:00:00.000000000 +0100 +++ new/lld-21.1.2.src/test/ELF/linkerscript/orphan-relocation.s 2025-09-23 21:22:24.000000000 +0200 @@ -0,0 +1,31 @@ +# REQUIRES: x86 +## Test that orphan section placement can handle a relocatable link where +## the relocation section is seen before the relocated section. + +# RUN: rm -rf %t && split-file %s %t && cd %t + +# RUN: llvm-mc -filetype=obj -triple=x86_64 a.s -o a.o +## In a.ro, .rela.text precedes its relocated section. +# RUN: ld.lld -r a.o -T 1.lds -o a.ro +# RUN: llvm-readelf -S a.ro | FileCheck %s +# CHECK: .rela.text RELA +# CHECK-NEXT: .text PROGBITS + +# RUN: llvm-objcopy --rename-section .text=.com.text --rename-section .rela.text=.rela.com.text a.ro a1.o + +## Regression test for #156354 , where we added an orphan RELA section before its relocated section. +# RUN: ld.lld -r a1.o -o a1.ro +# RUN: llvm-readelf -S a1.ro | FileCheck %s --check-prefix=CHECK1 +# CHECK1: .com.text PROGBITS +# CHECK1-NEXT: .rela.com.text RELA + +#--- a.s +.globl foo +foo: + call foo + +#--- 1.lds +SECTIONS { + .rela.text 0 : { *(.rela.text) } + .text 0 : { *(.text) } +} ++++++ lldb-21.1.1.src.tar.xz -> lldb-21.1.2.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm21/lldb-21.1.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm21.new.11973/lldb-21.1.2.src.tar.xz differ: char 15, line 1 ++++++ llvm-21.1.1.src.tar.xz -> llvm-21.1.2.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm21/llvm-21.1.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm21.new.11973/llvm-21.1.2.src.tar.xz differ: char 15, line 1 ++++++ llvm-do-not-install-static-libraries.patch ++++++ --- /var/tmp/diff_new_pack.93jCtC/_old 2025-09-29 16:32:26.630962182 +0200 +++ /var/tmp/diff_new_pack.93jCtC/_new 2025-09-29 16:32:26.638962517 +0200 @@ -2,10 +2,10 @@ want after installation. By not copying them in the first place we reduce the disk usage during installation. -Index: clang-21.1.1.src/cmake/modules/AddClang.cmake +Index: clang-21.1.2.src/cmake/modules/AddClang.cmake =================================================================== ---- a/clang-21.1.1.src/cmake/modules/AddClang.cmake -+++ b/clang-21.1.1.src/cmake/modules/AddClang.cmake +--- a/clang-21.1.2.src/cmake/modules/AddClang.cmake ++++ b/clang-21.1.2.src/cmake/modules/AddClang.cmake @@ -106,12 +106,15 @@ macro(add_clang_library name) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ARG_INSTALL_WITH_TOOLCHAIN) @@ -73,10 +73,10 @@ endif() get_subproject_title(subproject_title) -Index: lld-21.1.1.src/cmake/modules/AddLLD.cmake +Index: lld-21.1.2.src/cmake/modules/AddLLD.cmake =================================================================== ---- a/lld-21.1.1.src/cmake/modules/AddLLD.cmake -+++ b/lld-21.1.1.src/cmake/modules/AddLLD.cmake +--- a/lld-21.1.2.src/cmake/modules/AddLLD.cmake ++++ b/lld-21.1.2.src/cmake/modules/AddLLD.cmake @@ -14,13 +14,6 @@ macro(add_lld_library name) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) @@ -91,10 +91,10 @@ if (NOT CMAKE_CONFIGURATION_TYPES) add_llvm_install_targets(install-${name} DEPENDS ${name} -Index: polly-21.1.1.src/cmake/polly_macros.cmake +Index: polly-21.1.2.src/cmake/polly_macros.cmake =================================================================== ---- a/polly-21.1.1.src/cmake/polly_macros.cmake -+++ b/polly-21.1.1.src/cmake/polly_macros.cmake +--- a/polly-21.1.2.src/cmake/polly_macros.cmake ++++ b/polly-21.1.2.src/cmake/polly_macros.cmake @@ -43,16 +43,18 @@ if (LLVM_POLLY_LINK_INTO_TOOLS) set(exports EXPORT LLVMExports) @@ -125,10 +125,10 @@ endmacro(add_polly_library) macro(add_polly_loadable_module name) -Index: polly-21.1.1.src/lib/CMakeLists.txt +Index: polly-21.1.2.src/lib/CMakeLists.txt =================================================================== ---- a/polly-21.1.1.src/lib/CMakeLists.txt -+++ b/polly-21.1.1.src/lib/CMakeLists.txt +--- a/polly-21.1.2.src/lib/CMakeLists.txt ++++ b/polly-21.1.2.src/lib/CMakeLists.txt @@ -109,7 +109,7 @@ set_target_properties(PollyCore PROPERTI # It depends on all library it needs, such that with # LLVM_POLLY_LINK_INTO_TOOLS=ON, its dependencies like PollyISL are linked as ++++++ llvm-docs-21.1.1.src.tar.xz -> llvm-docs-21.1.2.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm21/llvm-docs-21.1.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm21.new.11973/llvm-docs-21.1.2.src.tar.xz differ: char 15, line 1 ++++++ openmp-21.1.1.src.tar.xz -> openmp-21.1.2.src.tar.xz ++++++ ++++++ polly-21.1.1.src.tar.xz -> polly-21.1.2.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm21/polly-21.1.1.src.tar.xz /work/SRC/openSUSE:Factory/.llvm21.new.11973/polly-21.1.2.src.tar.xz differ: char 15, line 1 ++++++ runtimes-21.1.1.src.tar.xz -> runtimes-21.1.2.src.tar.xz ++++++ ++++++ third-party-21.1.1.src.tar.xz -> third-party-21.1.2.src.tar.xz ++++++
