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-11-07 21:25:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm17 (Old) and /work/SRC/openSUSE:Factory/.llvm17.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm17" Tue Nov 7 21:25:35 2023 rev:4 rq:1123592 version:17.0.4 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm17/llvm17.changes 2023-10-26 17:12:01.042976687 +0200 +++ /work/SRC/openSUSE:Factory/.llvm17.new.17445/llvm17.changes 2023-11-07 21:25:48.734306710 +0100 @@ -1,0 +2,10 @@ +Sun Nov 5 20:20:37 UTC 2023 - Aaron Puchert <aaronpuch...@alice-dsl.net> + +- Update to version 17.0.4. + * 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. +- Include libomptarget.devicertl.a in libomp*-devel, which is + required for (GPU) offloading. + +------------------------------------------------------------------- Old: ---- 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 New: ---- clang-17.0.4.src.tar.xz clang-17.0.4.src.tar.xz.sig clang-docs-17.0.4.src.tar.xz clang-tools-extra-17.0.4.src.tar.xz clang-tools-extra-17.0.4.src.tar.xz.sig cmake-17.0.4.src.tar.xz cmake-17.0.4.src.tar.xz.sig compiler-rt-17.0.4.src.tar.xz compiler-rt-17.0.4.src.tar.xz.sig libcxx-17.0.4.src.tar.xz libcxx-17.0.4.src.tar.xz.sig libcxxabi-17.0.4.src.tar.xz libcxxabi-17.0.4.src.tar.xz.sig lld-17.0.4.src.tar.xz lld-17.0.4.src.tar.xz.sig lldb-17.0.4.src.tar.xz lldb-17.0.4.src.tar.xz.sig llvm-17.0.4.src.tar.xz llvm-17.0.4.src.tar.xz.sig llvm-docs-17.0.4.src.tar.xz openmp-17.0.4.src.tar.xz openmp-17.0.4.src.tar.xz.sig polly-17.0.4.src.tar.xz polly-17.0.4.src.tar.xz.sig runtimes-17.0.4.src.tar.xz runtimes-17.0.4.src.tar.xz.sig third-party-17.0.4.src.tar.xz third-party-17.0.4.src.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm17.spec ++++++ --- /var/tmp/diff_new_pack.ptxVu1/_old 2023-11-07 21:25:52.326438987 +0100 +++ /var/tmp/diff_new_pack.ptxVu1/_new 2023-11-07 21:25:52.342439576 +0100 @@ -16,7 +16,7 @@ # -%global _relver 17.0.3 +%global _relver 17.0.4 %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 1703 +%global _uaver 1704 %global _soclang 13 %global _socxx 1 @@ -1260,8 +1260,6 @@ rm %{buildroot}%{_libdir}/libgomp.so rm %{buildroot}%{_libdir}/libiomp*.so rm %{buildroot}%{_libdir}/libarcher_static.a -# Using -f because this isn't built for all architectures for some reason. -rm -fv %{buildroot}%{_libdir}/libomptarget.devicertl.a %endif # Prepare for update-alternatives usage @@ -1679,6 +1677,7 @@ %{_libdir}/libomptarget-amdgpu-*.bc %{_libdir}/libomptarget-nvptx-*.bc %ifarch aarch64 ppc64le x86_64 +%{_libdir}/libomptarget.devicertl.a %{_libdir}/libomptarget.rtl.{%{host_cpu},amdgpu,cuda}.so %{_libdir}/libomptarget.rtl.{%{host_cpu},amdgpu,cuda}.so.%{_soname} %endif ++++++ clang-17.0.3.src.tar.xz -> clang-17.0.4.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/clang-17.0.3.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.17445/clang-17.0.4.src.tar.xz differ: char 15, line 1 ++++++ clang-docs-17.0.3.src.tar.xz -> clang-docs-17.0.4.src.tar.xz ++++++ ++++ 2900 lines of diff (skipped) ++++++ clang-tools-extra-17.0.3.src.tar.xz -> clang-tools-extra-17.0.4.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-tools-extra-17.0.3.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp new/clang-tools-extra-17.0.4.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp --- old/clang-tools-extra-17.0.3.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 2023-10-17 08:20:52.000000000 +0200 +++ new/clang-tools-extra-17.0.4.src/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -103,7 +103,7 @@ bool VisitDeclRefExpr(DeclRefExpr *S) { DeclarationName Name = S->getNameInfo().getName(); - return S->getQualifierLoc() || !Name.isIdentifier() || + return S->getQualifierLoc() || Name.isEmpty() || !Name.isIdentifier() || !visitUnqualName(Name.getAsIdentifierInfo()->getName()); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-tools-extra-17.0.3.src/clangd/TidyProvider.cpp new/clang-tools-extra-17.0.4.src/clangd/TidyProvider.cpp --- old/clang-tools-extra-17.0.3.src/clangd/TidyProvider.cpp 2023-10-17 08:20:52.000000000 +0200 +++ new/clang-tools-extra-17.0.4.src/clangd/TidyProvider.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -219,6 +219,9 @@ "-bugprone-use-after-move", // Alias for bugprone-use-after-move. "-hicpp-invalid-access-moved", + // Check uses dataflow analysis, which might hang/crash unexpectedly on + // incomplete code. + "-bugprone-unchecked-optional-access", // ----- Performance problems ----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-tools-extra-17.0.3.src/test/clang-tidy/checkers/modernize/use-trailing-return-type-cxx20.cpp new/clang-tools-extra-17.0.4.src/test/clang-tidy/checkers/modernize/use-trailing-return-type-cxx20.cpp --- old/clang-tools-extra-17.0.3.src/test/clang-tidy/checkers/modernize/use-trailing-return-type-cxx20.cpp 2023-10-17 08:20:52.000000000 +0200 +++ new/clang-tools-extra-17.0.4.src/test/clang-tidy/checkers/modernize/use-trailing-return-type-cxx20.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -98,3 +98,21 @@ // CHECK-MESSAGES: :[[@LINE-1]]:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type] // CHECK-FIXES: {{^}} friend auto operator<(const TestDefaultOperatorB &, const TestDefaultOperatorB &) noexcept -> bool = default;{{$}} }; + +namespace PR69863 { + +template <unsigned Len> +struct CustomCompileTimeString { + constexpr CustomCompileTimeString(const char (&)[Len]) noexcept {} +}; + +template <CustomCompileTimeString Str> +constexpr decltype(Str) operator""__csz() noexcept { +// CHECK-MESSAGES: :[[@LINE-1]]:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type] +// CHECK-FIXES: {{^}}constexpr auto operator""__csz() noexcept -> decltype(Str) { + return Str; +} + +inline constexpr CustomCompileTimeString SomeString = "This line will cause a crash"__csz; + +} ++++++ cmake-17.0.3.src.tar.xz -> cmake-17.0.4.src.tar.xz ++++++ ++++++ compiler-rt-17.0.3.src.tar.xz -> compiler-rt-17.0.4.src.tar.xz ++++++ ++++++ libcxx-17.0.3.src.tar.xz -> libcxx-17.0.4.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-17.0.3.src/include/__config new/libcxx-17.0.4.src/include/__config --- old/libcxx-17.0.3.src/include/__config 2023-10-17 08:20:52.000000000 +0200 +++ new/libcxx-17.0.4.src/include/__config 2023-10-31 09:00:30.000000000 +0100 @@ -40,15 +40,11 @@ // _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 170003 +# define _LIBCPP_VERSION 170004 # define _LIBCPP_CONCAT_IMPL(_X, _Y) _X##_Y # define _LIBCPP_CONCAT(_X, _Y) _LIBCPP_CONCAT_IMPL(_X, _Y) -// Valid C++ identifier that revs with every libc++ version. This can be used to -// generate identifiers that must be unique for every released libc++ version. -# define _LIBCPP_VERSIONED_IDENTIFIER _LIBCPP_CONCAT(v, _LIBCPP_VERSION) - # if __STDC_HOSTED__ == 0 # define _LIBCPP_FREESTANDING # endif @@ -754,22 +750,54 @@ # define _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION _LIBCPP_ALWAYS_INLINE # endif +# if _LIBCPP_ENABLE_HARDENED_MODE +# define _LIBCPP_HARDENING_SIG h +# elif _LIBCPP_ENABLE_ASSERTIONS +# define _LIBCPP_HARDENING_SIG s +# elif _LIBCPP_ENABLE_DEBUG_MODE +# define _LIBCPP_HARDENING_SIG d +# else +# define _LIBCPP_HARDENING_SIG u // for unchecked +# endif + +# ifdef _LIBCPP_HAS_NO_EXCEPTIONS +# define _LIBCPP_EXCEPTIONS_SIG n +# else +# define _LIBCPP_EXCEPTIONS_SIG e +# endif + +# define _LIBCPP_ODR_SIGNATURE \ + _LIBCPP_CONCAT(_LIBCPP_CONCAT(_LIBCPP_HARDENING_SIG, _LIBCPP_EXCEPTIONS_SIG), _LIBCPP_VERSION) + // This macro marks a symbol as being hidden from libc++'s ABI. This is achieved // on two levels: // 1. The symbol is given hidden visibility, which ensures that users won't start exporting // symbols from their dynamic library by means of using the libc++ headers. This ensures // that those symbols stay private to the dynamic library in which it is defined. // -// 2. The symbol is given an ABI tag that changes with each version of libc++. This ensures -// that no ODR violation can arise from mixing two TUs compiled with different versions -// of libc++ where we would have changed the definition of a symbol. If the symbols shared -// the same name, the ODR would require that their definitions be token-by-token equivalent, -// which basically prevents us from being able to make any change to any function in our -// headers. Using this ABI tag ensures that the symbol name is "bumped" artificially at -// each release, which lets us change the definition of these symbols at our leisure. -// Note that historically, this has been achieved in various ways, including force-inlining -// all functions or giving internal linkage to all functions. Both these (previous) solutions -// suffer from drawbacks that lead notably to code bloat. +// 2. The symbol is given an ABI tag that encodes the ODR-relevant properties of the library. +// This ensures that no ODR violation can arise from mixing two TUs compiled with different +// versions or configurations of libc++ (such as exceptions vs no-exceptions). Indeed, if the +// program contains two definitions of a function, the ODR requires them to be token-by-token +// equivalent, and the linker is allowed to pick either definition and discard the other one. +// +// For example, if a program contains a copy of `vector::at()` compiled with exceptions enabled +// *and* a copy of `vector::at()` compiled with exceptions disabled (by means of having two TUs +// compiled with different settings), the two definitions are both visible by the linker and they +// have the same name, but they have a meaningfully different implementation (one throws an exception +// and the other aborts the program). This violates the ODR and makes the program ill-formed, and in +// practice what will happen is that the linker will pick one of the definitions at random and will +// discard the other one. This can quite clearly lead to incorrect program behavior. +// +// A similar reasoning holds for many other properties that are ODR-affecting. Essentially any +// property that causes the code of a function to differ from the code in another configuration +// can be considered ODR-affecting. In practice, we don't encode all such properties in the ABI +// tag, but we encode the ones that we think are most important: library version, exceptions, and +// hardening mode. +// +// Note that historically, solving this problem has been achieved in various ways, including +// force-inlining all functions or giving internal linkage to all functions. Both these previous +// solutions suffer from drawbacks that lead notably to code bloat. // // Note that we use _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION to ensure that we don't depend // on _LIBCPP_HIDE_FROM_ABI methods of classes explicitly instantiated in the dynamic library. @@ -789,7 +817,7 @@ # ifndef _LIBCPP_NO_ABI_TAG # define _LIBCPP_HIDE_FROM_ABI \ _LIBCPP_HIDDEN _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION \ - __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_VERSIONED_IDENTIFIER)))) + __attribute__((__abi_tag__(_LIBCPP_TOSTRING(_LIBCPP_ODR_SIGNATURE)))) # else # define _LIBCPP_HIDE_FROM_ABI _LIBCPP_HIDDEN _LIBCPP_EXCLUDE_FROM_EXPLICIT_INSTANTIATION # endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-17.0.3.src/test/libcxx/odr_signature.exceptions.sh.cpp new/libcxx-17.0.4.src/test/libcxx/odr_signature.exceptions.sh.cpp --- old/libcxx-17.0.3.src/test/libcxx/odr_signature.exceptions.sh.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/libcxx-17.0.4.src/test/libcxx/odr_signature.exceptions.sh.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -0,0 +1,46 @@ +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// TODO: Investigate +// XFAIL: msvc + +// Test that we encode whether exceptions are supported in an ABI tag to avoid +// ODR violations when linking TUs that have different values for it. + +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU1 -fno-exceptions -o %t.tu1.o +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU2 -fexceptions -o %t.tu2.o +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DMAIN -o %t.main.o +// RUN: %{cxx} %t.tu1.o %t.tu2.o %t.main.o %{flags} %{link_flags} -o %t.exe +// RUN: %{exec} %t.exe + +// -fno-exceptions +#ifdef TU1 +# include <__config> +_LIBCPP_HIDE_FROM_ABI inline int f() { return 1; } +int tu1() { return f(); } +#endif // TU1 + +// -fexceptions +#ifdef TU2 +# include <__config> +_LIBCPP_HIDE_FROM_ABI inline int f() { return 2; } +int tu2() { return f(); } +#endif // TU2 + +#ifdef MAIN +# include <cassert> + +int tu1(); +int tu2(); + +int main(int, char**) { + assert(tu1() == 1); + assert(tu2() == 2); + return 0; +} +#endif // MAIN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-17.0.3.src/test/libcxx/odr_signature.hardening.sh.cpp new/libcxx-17.0.4.src/test/libcxx/odr_signature.hardening.sh.cpp --- old/libcxx-17.0.3.src/test/libcxx/odr_signature.hardening.sh.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/libcxx-17.0.4.src/test/libcxx/odr_signature.hardening.sh.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -0,0 +1,72 @@ +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +// TODO: Remove these UNSUPPORTED lines once we change how hardening is enabled to avoid +// mutually exclusive modes being enabled at the same time. +// UNSUPPORTED: libcpp-has-hardened-mode +// UNSUPPORTED: libcpp-has-debug-mode +// UNSUPPORTED: libcpp-has-assertions + +// TODO: Investigate +// XFAIL: msvc + +// Test that we encode the hardening mode in an ABI tag to avoid ODR violations +// when linking TUs that have different values for it. + +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU1 -D_LIBCPP_ENABLE_HARDENED_MODE -o %t.tu1.o +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU2 -D_LIBCPP_ENABLE_ASSERTIONS -o %t.tu2.o +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU3 -D_LIBCPP_ENABLE_DEBUG_MODE -o %t.tu3.o +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DTU4 -o %t.tu4.o +// RUN: %{cxx} %s %{flags} %{compile_flags} -c -DMAIN -o %t.main.o +// RUN: %{cxx} %t.tu1.o %t.tu2.o %t.tu3.o %t.tu4.o %t.main.o %{flags} %{link_flags} -o %t.exe +// RUN: %{exec} %t.exe + +// hardened mode +#ifdef TU1 +# include <__config> +_LIBCPP_HIDE_FROM_ABI inline int f() { return 1; } +int tu1() { return f(); } +#endif // TU1 + +// safe mode +#ifdef TU2 +# include <__config> +_LIBCPP_HIDE_FROM_ABI inline int f() { return 2; } +int tu2() { return f(); } +#endif // TU2 + +// debug mode +#ifdef TU3 +# include <__config> +_LIBCPP_HIDE_FROM_ABI inline int f() { return 3; } +int tu3() { return f(); } +#endif // TU3 + +// unchecked mode +#ifdef TU4 +# include <__config> +_LIBCPP_HIDE_FROM_ABI inline int f() { return 4; } +int tu4() { return f(); } +#endif // TU4 + +#ifdef MAIN +# include <cassert> + +int tu1(); +int tu2(); +int tu3(); +int tu4(); + +int main(int, char**) { + assert(tu1() == 1); + assert(tu2() == 2); + assert(tu3() == 3); + assert(tu4() == 4); + return 0; +} +#endif // MAIN diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-17.0.3.src/test/std/input.output/string.streams/stringstream/stringstream.members/gcount.pass.cpp new/libcxx-17.0.4.src/test/std/input.output/string.streams/stringstream/stringstream.members/gcount.pass.cpp --- old/libcxx-17.0.3.src/test/std/input.output/string.streams/stringstream/stringstream.members/gcount.pass.cpp 2023-10-17 08:20:52.000000000 +0200 +++ new/libcxx-17.0.4.src/test/std/input.output/string.streams/stringstream/stringstream.members/gcount.pass.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -7,6 +7,7 @@ //===----------------------------------------------------------------------===// // UNSUPPORTED: 32-bit-pointer +// REQUIRES: large_tests // Test that tellp() does not break the stringstream after INT_MAX, due to use // of pbump() that accept int. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libcxx-17.0.3.src/utils/libcxx/test/params.py new/libcxx-17.0.4.src/utils/libcxx/test/params.py --- old/libcxx-17.0.3.src/utils/libcxx/test/params.py 2023-10-17 08:20:52.000000000 +0200 +++ new/libcxx-17.0.4.src/utils/libcxx/test/params.py 2023-10-31 09:00:30.000000000 +0100 @@ -300,6 +300,14 @@ actions=lambda enabled: [] if not enabled else [AddFeature("long_tests")], ), Parameter( + name="large_tests", + choices=[True, False], + type=bool, + default=True, + help="Whether to enable tests that use a lot of memory. This can be useful when running on a device with limited amounts of memory.", + actions=lambda enabled: [] if not enabled else [AddFeature("large_tests")], + ), + Parameter( name="enable_assertions", choices=[True, False], type=bool, ++++++ libcxxabi-17.0.3.src.tar.xz -> libcxxabi-17.0.4.src.tar.xz ++++++ ++++++ lld-17.0.3.src.tar.xz -> lld-17.0.4.src.tar.xz ++++++ ++++++ lldb-17.0.3.src.tar.xz -> lldb-17.0.4.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/lldb-17.0.3.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.17445/lldb-17.0.4.src.tar.xz differ: char 15, line 1 ++++++ llvm-17.0.3.src.tar.xz -> llvm-17.0.4.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/llvm-17.0.3.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.17445/llvm-17.0.4.src.tar.xz differ: char 15, line 1 ++++++ llvm-do-not-install-static-libraries.patch ++++++ --- /var/tmp/diff_new_pack.ptxVu1/_old 2023-11-07 21:26:01.422773950 +0100 +++ /var/tmp/diff_new_pack.ptxVu1/_new 2023-11-07 21:26:01.426774097 +0100 @@ -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.3.src/cmake/modules/AddClang.cmake +Index: clang-17.0.4.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 +--- a/clang-17.0.4.src/cmake/modules/AddClang.cmake ++++ b/clang-17.0.4.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.3.src/cmake/modules/AddLLD.cmake +Index: lld-17.0.4.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 +--- a/lld-17.0.4.src/cmake/modules/AddLLD.cmake ++++ b/lld-17.0.4.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.3.src/cmake/polly_macros.cmake +Index: polly-17.0.4.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 +--- a/polly-17.0.4.src/cmake/polly_macros.cmake ++++ b/polly-17.0.4.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.3.src/lib/CMakeLists.txt +Index: polly-17.0.4.src/lib/CMakeLists.txt =================================================================== ---- a/polly-17.0.3.src/lib/CMakeLists.txt -+++ b/polly-17.0.3.src/lib/CMakeLists.txt +--- a/polly-17.0.4.src/lib/CMakeLists.txt ++++ b/polly-17.0.4.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.3.src.tar.xz -> llvm-docs-17.0.4.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/llvm-docs-17.0.3.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.17445/llvm-docs-17.0.4.src.tar.xz differ: char 27, line 1 ++++++ llvm17-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.ptxVu1/_old 2023-11-07 21:26:01.466775570 +0100 +++ /var/tmp/diff_new_pack.ptxVu1/_new 2023-11-07 21:26:01.470775717 +0100 @@ -14,6 +14,9 @@ # Archive seems to be deliberately empty on some architectures. addFilter("lto-no-text-in-archive .*/lib.*/clang/.*/lib/linux/libclang_rt.asan_static-.*.a") +# LLVM IR archive for OpenMP offloading, deliberately contains no object code. +addFilter("lto-no-text-in-archive .*/lib.*/libomptarget.devicertl.a") + # Different versions of LLVM can produce the same SONAME, so we'll have to use # non-standard names sometimes. (Leap's rpmlint complains, Tumbleweed's doesn't.) addFilter("shlib-policy-name-error") ++++++ openmp-17.0.3.src.tar.xz -> openmp-17.0.4.src.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openmp-17.0.3.src/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp new/openmp-17.0.4.src/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp --- old/openmp-17.0.3.src/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp 2023-10-17 08:20:52.000000000 +0200 +++ new/openmp-17.0.4.src/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -84,8 +84,7 @@ auto *TgtArgOffsetsArray = JsonKernelInfo->getAsObject()->getArray("ArgOffsets"); for (auto It : *TgtArgOffsetsArray) - TgtArgOffsets.push_back( - reinterpret_cast<ptrdiff_t>(It.getAsInteger().value())); + TgtArgOffsets.push_back(static_cast<ptrdiff_t>(It.getAsInteger().value())); __tgt_offload_entry KernelEntry = {nullptr, nullptr, 0, 0, 0}; std::string KernelEntryName = KernelFunc.value().str(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openmp-17.0.3.src/runtime/src/kmp_runtime.cpp new/openmp-17.0.4.src/runtime/src/kmp_runtime.cpp --- old/openmp-17.0.3.src/runtime/src/kmp_runtime.cpp 2023-10-17 08:20:52.000000000 +0200 +++ new/openmp-17.0.4.src/runtime/src/kmp_runtime.cpp 2023-10-31 09:00:30.000000000 +0100 @@ -8858,7 +8858,8 @@ #elif KMP_ARCH_X86 || KMP_ARCH_ARM || KMP_ARCH_AARCH || KMP_ARCH_MIPS -#if KMP_OS_LINUX || KMP_OS_FREEBSD || KMP_OS_WINDOWS || KMP_OS_HURD +#if KMP_OS_LINUX || KMP_OS_DRAGONFLY || KMP_OS_FREEBSD || KMP_OS_NETBSD || \ + KMP_OS_OPENBSD || KMP_OS_WINDOWS || KMP_OS_HURD // basic tuning diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/openmp-17.0.3.src/runtime/src/kmp_wrapper_getpid.h new/openmp-17.0.4.src/runtime/src/kmp_wrapper_getpid.h --- old/openmp-17.0.3.src/runtime/src/kmp_wrapper_getpid.h 2023-10-17 08:20:52.000000000 +0200 +++ new/openmp-17.0.4.src/runtime/src/kmp_wrapper_getpid.h 2023-10-31 09:00:30.000000000 +0100 @@ -30,7 +30,7 @@ #include <lwp.h> #define __kmp_gettid() _lwp_self() #elif KMP_OS_OPENBSD -#define __kmp_gettid() syscall(SYS_getthrid) +#define __kmp_gettid() getthrid() #elif defined(SYS_gettid) // Hopefully other Unix systems define SYS_gettid syscall for getting os thread // id ++++++ polly-17.0.3.src.tar.xz -> polly-17.0.4.src.tar.xz ++++++ /work/SRC/openSUSE:Factory/llvm17/polly-17.0.3.src.tar.xz /work/SRC/openSUSE:Factory/.llvm17.new.17445/polly-17.0.4.src.tar.xz differ: char 15, line 1 ++++++ runtimes-17.0.3.src.tar.xz -> runtimes-17.0.4.src.tar.xz ++++++ ++++++ third-party-17.0.3.src.tar.xz -> third-party-17.0.4.src.tar.xz ++++++