Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bcc for openSUSE:Factory checked in at 2026-06-18 18:40:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bcc (Old) and /work/SRC/openSUSE:Factory/.bcc.new.1981 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bcc" Thu Jun 18 18:40:53 2026 rev:79 rq:1360128 version:0.36.1 Changes: -------- --- /work/SRC/openSUSE:Factory/bcc/bcc.changes 2026-05-20 15:24:45.118709789 +0200 +++ /work/SRC/openSUSE:Factory/.bcc.new.1981/bcc.changes 2026-06-18 18:42:07.296781411 +0200 @@ -1,0 +2,12 @@ +Thu Jun 18 03:22:42 UTC 2026 - Shung-Hsi Yu <[email protected]> + +- Add version postfix when calling clang and llvm-strip + +------------------------------------------------------------------- +Fri Jun 12 10:37:13 UTC 2026 - Avinesh Kumar <[email protected]> + +- Backport upstream patch clang-Add-microsoft-extensions-build-flags + (gh#iovisor/bcc#5488) + * add 0001-clang-Add-microsoft-extensions-build-flags.patch + +------------------------------------------------------------------- New: ---- 0001-clang-Add-microsoft-extensions-build-flags.patch ----------(New B)---------- New: (gh#iovisor/bcc#5488) * add 0001-clang-Add-microsoft-extensions-build-flags.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bcc.spec ++++++ --- /var/tmp/diff_new_pack.o4G4LE/_old 2026-06-18 18:42:08.180818350 +0200 +++ /var/tmp/diff_new_pack.o4G4LE/_new 2026-06-18 18:42:08.180818350 +0200 @@ -41,6 +41,7 @@ URL: https://github.com/iovisor/bcc Source: https://github.com/iovisor/bcc/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: 0001-Fix-build-with-LLVM-22.patch +Patch1: 0001-clang-Add-microsoft-extensions-build-flags.patch Source100: bcc-rpmlintrc ExcludeArch: ppc s390 BuildRequires: bison @@ -204,6 +205,8 @@ pushd libbpf-tools %make_build LIBBPF_OBJ=%{_libdir}/libbpf.a \ BPFTOOL=%{_sbindir}/bpftool \ + CLANG=clang-%{product_libs_llvm_ver} \ + LLVM_STRIP=llvm-strip-%{product_libs_llvm_ver} \ CFLAGS="%{optflags}" popd %endif ++++++ 0001-clang-Add-microsoft-extensions-build-flags.patch ++++++ diff --git a/src/cc/frontends/clang/kbuild_helper.cc b/src/cc/frontends/clang/kbuild_helper.cc index 4f09a398e5f3..b5d6a55ec65f 100644 --- a/src/cc/frontends/clang/kbuild_helper.cc +++ b/src/cc/frontends/clang/kbuild_helper.cc @@ -137,6 +137,10 @@ int KBuildHelper::get_flags(const char *uname_machine, vector<string> *cflags) { cflags->push_back("-Wno-pointer-sign"); cflags->push_back("-fno-stack-protector"); + // Align with Linux kernel's -fms-extensions flags adopted since v6.19 + cflags->push_back("-fms-extensions"); + cflags->push_back("-Wno-microsoft-anon-tag"); + /* * kernel is usually build with gcc and the kernel devel header * reflects that fact. However we build with clang and this must be
