Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package llvm20 for openSUSE:Factory checked in at 2026-07-28 17:51:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/llvm20 (Old) and /work/SRC/openSUSE:Factory/.llvm20.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "llvm20" Tue Jul 28 17:51:16 2026 rev:15 rq:1367824 version:20.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/llvm20/llvm20.changes 2026-06-12 19:26:12.310874823 +0200 +++ /work/SRC/openSUSE:Factory/.llvm20.new.2004/llvm20.changes 2026-07-28 17:52:41.641530028 +0200 @@ -1,0 +2,6 @@ +Sun Jul 26 13:47:48 UTC 2026 - Aaron Puchert <[email protected]> + +- Add compiler-rt-Remove-linux-scc-h.patch to remove <linux/scc.h> + include that was removed in Linux 7.1 (boo#1271641). + +------------------------------------------------------------------- New: ---- compiler-rt-Remove-linux-scc-h.patch ----------(New B)---------- New: - Add compiler-rt-Remove-linux-scc-h.patch to remove <linux/scc.h> include that was removed in Linux 7.1 (boo#1271641). ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ llvm20.spec ++++++ --- /var/tmp/diff_new_pack.7IlEF2/_old 2026-07-28 17:52:48.557771867 +0200 +++ /var/tmp/diff_new_pack.7IlEF2/_new 2026-07-28 17:52:48.581772707 +0200 @@ -444,6 +444,8 @@ Patch27: clang-fix-openmp-test.patch # PATCH-FIX-UPSTREAM: Fix test with x87 floating-point. Patch28: llvm-fix-cov-test-i586.patch +# PATCH-FIX-UPSTREAM https://github.com/llvm/llvm-project/commit/3dc4fd6dd41100f051a63642f449b16324389c96 +Patch29: compiler-rt-Remove-linux-scc-h.patch BuildRequires: %{python_pkg}-base >= 3.8 BuildRequires: binutils-devel >= 2.21.90 BuildRequires: cmake >= 3.13.4 @@ -901,6 +903,10 @@ rm test/Driver/nacl-direct.c popd +pushd compiler-rt-%{_version}.src +%patch -P 29 -p2 +popd + pushd clang-tools-extra-%{_version}.src %patch -P 10 -p2 popd ++++++ compiler-rt-Remove-linux-scc-h.patch ++++++ >From 3dc4fd6dd41100f051a63642f449b16324389c96 Mon Sep 17 00:00:00 2001 From: cqwrteur <[email protected]> Date: Sat, 25 Apr 2026 14:23:32 +0800 Subject: [PATCH] [compiler-rt][sanitizer] Remove linux/scc.h (#194116) #194110 Linux Kernel has removed scc.h header completely from the source code Therefore, we need to remove the usage in compiler-rt/sanitizer too. https://github.com/torvalds/linux/commit/64edfa65062dc4509ba75978116b2f6d392346f5#diff-1ca78e598a5041ee51ae795d168435afad598b82a7a0ce80f215993589b96c7c Without removing it, not only it breaks compiler-rt but also GCC build since GCC always builds libsanitizer for linux targets. After merging this we will need to cherry pick to GCC. --- .../sanitizer_platform_limits_posix.cpp | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp index 39e157d278948..3ea9002f5f19e 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp @@ -152,16 +152,15 @@ typedef struct user_fpregs elf_fpregset_t; #if defined(__mips64) # include <sys/procfs.h> #endif -#include <sys/user.h> -#include <linux/if_eql.h> -#include <linux/if_plip.h> -#include <linux/lp.h> -#include <linux/mroute.h> -#include <linux/mroute6.h> -#include <linux/scc.h> -#include <linux/serial.h> -#include <sys/msg.h> -#include <sys/ipc.h> +# include <linux/if_eql.h> +# include <linux/if_plip.h> +# include <linux/lp.h> +# include <linux/mroute.h> +# include <linux/mroute6.h> +# include <linux/serial.h> +# include <sys/ipc.h> +# include <sys/msg.h> +# include <sys/user.h> #endif // SANITIZER_ANDROID #include <link.h> @@ -537,8 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); unsigned struct_kbsentry_sz = sizeof(struct kbsentry); unsigned struct_mtconfiginfo_sz = sizeof(struct mtconfiginfo); unsigned struct_nr_parms_struct_sz = sizeof(struct nr_parms_struct); - unsigned struct_scc_modem_sz = sizeof(struct scc_modem); - unsigned struct_scc_stat_sz = sizeof(struct scc_stat); unsigned struct_serial_multiport_struct_sz = sizeof(struct serial_multiport_struct); unsigned struct_serial_struct_sz = sizeof(struct serial_struct);
