Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm17 for openSUSE:Factory checked in at 2023-10-26 17:11:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm17 (Old) and /work/SRC/openSUSE:Factory/.llvm17.new.24901 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm17" Thu Oct 26 17:11:52 2023 rev:3 rq:1119122 version:17.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm17/llvm17.changes 2023-10-08 12:20:09.762135970 +0200 +++ /work/SRC/openSUSE:Factory/.llvm17.new.24901/llvm17.changes 2023-10-26 17:12:01.042976687 +0200 @@ -1,0 +2,12 @@ +Thu Oct 19 21:04:06 UTC 2023 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Update to version 17.0.3. + * This release contains bug-fixes for the LLVM 17.0.0 release. + This release is API and ABI compatible with 17.0.0. +- Rebase llvm-do-not-install-static-libraries.patch. +- Disable zstd support for now regardless of whether libzstd-devel + is installed. (boo#1216121) +- Limit number of LTO threads on 32-bit architectures to prevent + out-of-memory during linking. + +------------------------------------------------------------------- Old: ---- clang-17.0.2.src.tar.xz clang-17.0.2.src.tar.xz.sig clang-docs-17.0.2.src.tar.xz clang-tools-extra-17.0.2.src.tar.xz clang-tools-extra-17.0.2.src.tar.xz.sig cmake-17.0.2.src.tar.xz cmake-17.0.2.src.tar.xz.sig compiler-rt-17.0.2.src.tar.xz compiler-rt-17.0.2.src.tar.xz.sig libcxx-17.0.2.src.tar.xz libcxx-17.0.2.src.tar.xz.sig libcxxabi-17.0.2.src.tar.xz libcxxabi-17.0.2.src.tar.xz.sig lld-17.0.2.src.tar.xz lld-17.0.2.src.tar.xz.sig lldb-17.0.2.src.tar.xz lldb-17.0.2.src.tar.xz.sig llvm-17.0.2.src.tar.xz llvm-17.0.2.src.tar.xz.sig llvm-docs-17.0.2.src.tar.xz openmp-17.0.2.src.tar.xz openmp-17.0.2.src.tar.xz.sig polly-17.0.2.src.tar.xz polly-17.0.2.src.tar.xz.sig runtimes-17.0.2.src.tar.xz runtimes-17.0.2.src.tar.xz.sig third-party-17.0.2.src.tar.xz third-party-17.0.2.src.tar.xz.sig New: ---- clang-17.0.3.src.tar.xz clang-17.0.3.src.tar.xz.sig clang-docs-17.0.3.src.tar.xz clang-tools-extra-17.0.3.src.tar.xz clang-tools-extra-17.0.3.src.tar.xz.sig cmake-17.0.3.src.tar.xz cmake-17.0.3.src.tar.xz.sig compiler-rt-17.0.3.src.tar.xz compiler-rt-17.0.3.src.tar.xz.sig libcxx-17.0.3.src.tar.xz libcxx-17.0.3.src.tar.xz.sig libcxxabi-17.0.3.src.tar.xz libcxxabi-17.0.3.src.tar.xz.sig lld-17.0.3.src.tar.xz lld-17.0.3.src.tar.xz.sig lldb-17.0.3.src.tar.xz lldb-17.0.3.src.tar.xz.sig llvm-17.0.3.src.tar.xz llvm-17.0.3.src.tar.xz.sig llvm-docs-17.0.3.src.tar.xz openmp-17.0.3.src.tar.xz openmp-17.0.3.src.tar.xz.sig polly-17.0.3.src.tar.xz polly-17.0.3.src.tar.xz.sig runtimes-17.0.3.src.tar.xz runtimes-17.0.3.src.tar.xz.sig third-party-17.0.3.src.tar.xz third-party-17.0.3.src.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm17.spec ++++++ --- /var/tmp/diff_new_pack.LeNcDr/_old 2023-10-26 17:12:04.451101856 +0200 +++ /var/tmp/diff_new_pack.LeNcDr/_new 2023-10-26 17:12:04.451101856 +0200 @@ -16,7 +16,7 @@ # -%global _relver 17.0.2 +%global _relver 17.0.3 %global _version %_relver%{?_rc:rc%_rc} %global _tagver %_relver%{?_rc:-rc%_rc} %global _sonum 17 @@ -24,7 +24,7 @@ %global _soname %{_sonum}%{?_sosuffix} %global _itsme17 1 # Integer version used by update-alternatives -%global _uaver 1702 +%global _uaver 1703 %global _soclang 13 %global _socxx 1 @@ -976,6 +976,7 @@ -DLLVM_BUILD_UTILS:BOOL=OFF \ -DLLVM_BUILD_EXAMPLES:BOOL=OFF \ -DLLVM_BUILD_RUNTIME:BOOL=OFF \ + -DLLVM_ENABLE_ZSTD:BOOL=OFF \ -DLLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD:BOOL=OFF \ -DLLVM_INCLUDE_BENCHMARKS:BOOL=OFF \ -DLLVM_INCLUDE_TESTS:BOOL=OFF \ @@ -1019,7 +1020,7 @@ # Clang uses a bit less memory. mem_per_compile_job=700000 -%ifarch i586 ppc armv6hl armv7hl +%ifarch %{arm} i586 ppc # 32-bit arches need less memory than 64-bit arches. mem_per_compile_job=500000 %endif @@ -1033,8 +1034,13 @@ %define __builddir build %if %{with thin_lto} && %{with use_lld} %global lld_ldflag --ld-path=%{sourcedir}/stage1/bin/ld.lld +%ifarch %{arm} i586 ppc +%if %{jobs} > 8 +%global lto_limit_threads -Wl,--thinlto-jobs=8 +%endif +%endif %endif -%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} +%define build_ldflags -Wl,--build-id=sha1 %{?lld_ldflag} %{?lto_limit_threads} # The build occasionally uses tools linking against previously built # libraries (mostly libLLVM.so), but we don't want to set RUNPATHs. export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib} @@ -1063,6 +1069,7 @@ -DLLVM_ENABLE_RTTI:BOOL=ON \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=%{_includedir} \ + -DLLVM_ENABLE_ZSTD:BOOL=OFF \ -DLLVM_TARGETS_TO_BUILD=%{llvm_targets} \ -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{llvm_experimental_targets} \ -DLLVM_TOOL_LLVM_EXEGESIS_BUILD:BOOL=OFF \ ++++++ clang-17.0.2.src.tar.xz -> clang-17.0.3.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/clang-17.0.2.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.24901/clang-17.0.3.src.tar.xz differ: char 15, line 1 ++++++ clang-docs-17.0.2.src.tar.xz -> clang-docs-17.0.3.src.tar.xz ++++++ ++++ 2915 lines of diff (skipped) ++++++ clang-tools-extra-17.0.2.src.tar.xz -> clang-tools-extra-17.0.3.src.tar.xz ++++++ ++++++ cmake-17.0.2.src.tar.xz -> cmake-17.0.3.src.tar.xz ++++++ ++++++ compiler-rt-17.0.2.src.tar.xz -> compiler-rt-17.0.3.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/compiler-rt-17.0.2.src/test/lsan/TestCases/create_thread_leak.cpp new/compiler-rt-17.0.3.src/test/lsan/TestCases/create_thread_leak.cpp --- old/compiler-rt-17.0.2.src/test/lsan/TestCases/create_thread_leak.cpp 2023-10-03 08:37:35.000000000 +0200 +++ new/compiler-rt-17.0.3.src/test/lsan/TestCases/create_thread_leak.cpp 2023-10-17 08:20:52.000000000 +0200 @@ -6,6 +6,9 @@ // RUN: %run not %t 10 0 0 1 2>&1 | FileCheck %s --check-prefixes=LEAK,LEAK234 // RUN: %run %t 10 0 0 0 +// This test appears to be flaky on x86_64-darwin buildbots. +// UNSUPPORTED: darwin + #include <pthread.h> #include <stdlib.h> ++++++ libcxx-17.0.2.src.tar.xz -> libcxx-17.0.3.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-17.0.2.src/include/__config new/libcxx-17.0.3.src/include/__config --- old/libcxx-17.0.2.src/include/__config 2023-10-03 08:37:35.000000000 +0200 +++ new/libcxx-17.0.3.src/include/__config 2023-10-17 08:20:52.000000000 +0200 @@ -40,7 +40,7 @@ // _LIBCPP_VERSION represents the version of libc++, which matches the version of LLVM. // Given a LLVM release LLVM XX.YY.ZZ (e.g. LLVM 17.0.1 == 17.00.01), _LIBCPP_VERSION is // defined to XXYYZZ. -# define _LIBCPP_VERSION 170002 +# define _LIBCPP_VERSION 170003 # define _LIBCPP_CONCAT_IMPL(_X, _Y) _X##_Y # define _LIBCPP_CONCAT(_X, _Y) _LIBCPP_CONCAT_IMPL(_X, _Y) ++++++ libcxxabi-17.0.2.src.tar.xz -> libcxxabi-17.0.3.src.tar.xz ++++++ ++++++ lld-17.0.2.src.tar.xz -> lld-17.0.3.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-17.0.2.src/COFF/InputFiles.cpp new/lld-17.0.3.src/COFF/InputFiles.cpp --- old/lld-17.0.2.src/COFF/InputFiles.cpp 2023-10-03 08:37:35.000000000 +0200 +++ new/lld-17.0.3.src/COFF/InputFiles.cpp 2023-10-17 08:20:52.000000000 +0200 @@ -661,6 +661,8 @@ if (prevailing) { SectionChunk *c = readSection(sectionNumber, def, getName()); sparseChunks[sectionNumber] = c; + if (!c) + return nullptr; c->sym = cast<DefinedRegular>(leader); c->selection = selection; cast<DefinedRegular>(leader)->data = &c->repl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lld-17.0.2.src/test/COFF/comdat-drectve.s new/lld-17.0.3.src/test/COFF/comdat-drectve.s --- old/lld-17.0.2.src/test/COFF/comdat-drectve.s 1970-01-01 01:00:00.000000000 +0100 +++ new/lld-17.0.3.src/test/COFF/comdat-drectve.s 2023-10-17 08:20:52.000000000 +0200 @@ -0,0 +1,31 @@ +# REQUIRES: x86 + +# RUN: llvm-mc -triple=x86_64-windows-gnu %s -filetype=obj -o %t.obj + +# RUN: lld-link %t.obj -out:%t.exe -debug:symtab -subsystem:console +# RUN: llvm-readobj --coff-exports %t.exe | FileCheck %s + +# CHECK: Name: exportedFunc + +## This assembly snippet has been reduced from what Clang generates from +## this C snippet, with -fsanitize=address. Normally, the .drectve +## section would be a regular section - but when compiled with +## -fsanitize=address, it becomes a comdat section. +## +# void exportedFunc(void) {} +# void mainCRTStartup(void) {} +# static __attribute__((section(".drectve"), used)) const char export_chkstk[] = +# "-export:exportedFunc"; + + .text + .globl exportedFunc +exportedFunc: + retq + + .globl mainCRTStartup +mainCRTStartup: + retq + + .section .drectve,"dr",one_only,export_chkstk +export_chkstk: + .asciz "-export:exportedFunc" ++++++ lldb-17.0.2.src.tar.xz -> lldb-17.0.3.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/lldb-17.0.2.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.24901/lldb-17.0.3.src.tar.xz differ: char 15, line 1 ++++++ llvm-17.0.2.src.tar.xz -> llvm-17.0.3.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/llvm-17.0.2.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.24901/llvm-17.0.3.src.tar.xz differ: char 15, line 1 ++++++ llvm-do-not-install-static-libraries.patch ++++++ --- /var/tmp/diff_new_pack.LeNcDr/_old 2023-10-26 17:12:13.387430058 +0200 +++ /var/tmp/diff_new_pack.LeNcDr/_new 2023-10-26 17:12:13.387430058 +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-17.0.2.src/cmake/modules/AddClang.cmake +Index: clang-17.0.3.src/cmake/modules/AddClang.cmake =================================================================== ---- a/clang-17.0.2.src/cmake/modules/AddClang.cmake -+++ b/clang-17.0.2.src/cmake/modules/AddClang.cmake +--- a/clang-17.0.3.src/cmake/modules/AddClang.cmake ++++ b/clang-17.0.3.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) @@ -68,10 +68,10 @@ endif() if (ARG_MODULE) set_target_properties(${name} PROPERTIES FOLDER "Loadable modules") -Index: lld-17.0.2.src/cmake/modules/AddLLD.cmake +Index: lld-17.0.3.src/cmake/modules/AddLLD.cmake =================================================================== ---- a/lld-17.0.2.src/cmake/modules/AddLLD.cmake -+++ b/lld-17.0.2.src/cmake/modules/AddLLD.cmake +--- a/lld-17.0.3.src/cmake/modules/AddLLD.cmake ++++ b/lld-17.0.3.src/cmake/modules/AddLLD.cmake @@ -17,13 +17,6 @@ macro(add_lld_library name) if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY) @@ -86,10 +86,10 @@ if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES) add_llvm_install_targets(install-${name} DEPENDS ${name} -Index: polly-17.0.2.src/cmake/polly_macros.cmake +Index: polly-17.0.3.src/cmake/polly_macros.cmake =================================================================== ---- a/polly-17.0.2.src/cmake/polly_macros.cmake -+++ b/polly-17.0.2.src/cmake/polly_macros.cmake +--- a/polly-17.0.3.src/cmake/polly_macros.cmake ++++ b/polly-17.0.3.src/cmake/polly_macros.cmake @@ -42,12 +42,14 @@ macro(add_polly_library name) llvm_config(${name} ${LLVM_LINK_COMPONENTS}) endif( LLVM_LINK_COMPONENTS ) @@ -110,10 +110,10 @@ endmacro(add_polly_library) macro(add_polly_loadable_module name) -Index: polly-17.0.2.src/lib/CMakeLists.txt +Index: polly-17.0.3.src/lib/CMakeLists.txt =================================================================== ---- a/polly-17.0.2.src/lib/CMakeLists.txt -+++ b/polly-17.0.2.src/lib/CMakeLists.txt +--- a/polly-17.0.3.src/lib/CMakeLists.txt ++++ b/polly-17.0.3.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-17.0.2.src.tar.xz -> llvm-docs-17.0.3.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/llvm-docs-17.0.2.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.24901/llvm-docs-17.0.3.src.tar.xz differ: char 26, line 1 ++++++ openmp-17.0.2.src.tar.xz -> openmp-17.0.3.src.tar.xz ++++++ ++++++ polly-17.0.2.src.tar.xz -> polly-17.0.3.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/polly-17.0.2.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.24901/polly-17.0.3.src.tar.xz differ: char 15, line 1 ++++++ runtimes-17.0.2.src.tar.xz -> runtimes-17.0.3.src.tar.xz ++++++ ++++++ third-party-17.0.2.src.tar.xz -> third-party-17.0.3.src.tar.xz ++++++