Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xdp-tools for openSUSE:Factory 
checked in at 2025-03-31 11:37:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xdp-tools (Old)
 and      /work/SRC/openSUSE:Factory/.xdp-tools.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xdp-tools"

Mon Mar 31 11:37:37 2025 rev:5 rq:1255602 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/xdp-tools/xdp-tools.changes      2024-02-23 
16:40:41.333244023 +0100
+++ /work/SRC/openSUSE:Factory/.xdp-tools.new.2696/xdp-tools.changes    
2025-03-31 11:38:37.468832899 +0200
@@ -1,0 +2,5 @@
+Fri Mar 21 22:49:39 UTC 2025 - Aaron Puchert <aaronpuch...@alice-dsl.net>
+
+- Add fix-clang20-build.patch to fix build with Clang 20.
+
+-------------------------------------------------------------------

New:
----
  fix-clang20-build.patch

BETA DEBUG BEGIN:
  New:
- Add fix-clang20-build.patch to fix build with Clang 20.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xdp-tools.spec ++++++
--- /var/tmp/diff_new_pack.gVhCvA/_old  2025-03-31 11:38:37.932852146 +0200
+++ /var/tmp/diff_new_pack.gVhCvA/_new  2025-03-31 11:38:37.936852312 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xdp-tools
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,9 @@
 License:        GPL-2.0-only
 URL:            https://github.com/xdp-project/xdp-tools
 Source:         
https://github.com/xdp-project/xdp-tools/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# Fixes "error: argument unused during compilation: '-c' 
[-Werror,-Wunused-command-line-argument]" with
+# Clang 20. The command lines have both -c and -S, but should only have -S as 
they're producing textual IR.
+Patch1:         fix-clang20-build.patch
 BuildRequires:  bpftool
 BuildRequires:  clang >= 10.0.0
 BuildRequires:  gcc

++++++ fix-clang20-build.patch ++++++
--- xdp-tools-1.4.2/lib/common.mk
+++ xdp-tools-1.4.2/lib/common.mk
@@ -117,7 +117,7 @@
            -Wno-pointer-sign \
            -Wno-compare-distinct-pointer-types \
            -Werror \
-           -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
+           -O2 -emit-llvm -g -o ${@:.o=.ll} $<
        $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
 
 $(BPF_SKEL_H): %.skel.h: %.bpf.o
--- xdp-tools-1.4.2/lib/libxdp/Makefile
+++ xdp-tools-1.4.2/lib/libxdp/Makefile
@@ -144,7 +144,7 @@
            -Wno-pointer-sign \
            -Wno-compare-distinct-pointer-types \
            -Werror \
-           -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
+           -O2 -emit-llvm -g -o ${@:.o=.ll} $<
        $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
 
 .PHONY: man
--- xdp-tools-1.4.2/lib/libxdp/tests/Makefile
+++ xdp-tools-1.4.2/lib/libxdp/tests/Makefile
@@ -79,7 +79,7 @@
            -Wno-pointer-sign \
            -Wno-compare-distinct-pointer-types \
            -Werror \
-           -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
+           -O2 -emit-llvm -g -o ${@:.o=.ll} $<
        $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
 
 run: all
--- xdp-tools-1.4.2/lib/util/Makefile
+++ xdp-tools-1.4.2/lib/util/Makefile
@@ -27,7 +27,7 @@
            -Wno-pointer-sign \
            -Wno-compare-distinct-pointer-types \
            -Werror \
-           -O2 -emit-llvm -c -g -o ${@:.o=.ll} $<
+           -O2 -emit-llvm -g -o ${@:.o=.ll} $<
        $(QUIET_LLC)$(LLC) -march=$(BPF_TARGET) -filetype=obj -o $@ ${@:.o=.ll}
 
 $(UTIL_SKEL_H): %.skel.h: %.bpf.o

Reply via email to