Control: tags -1 patch
On Thu, 11 Dec 2025 19:55:26 +0100 Matthias Klose <[email protected]> wrote:
Package: src:bpfcc
Version: 0.35.0+ds-1
Severity: serious
Tags: ftbfs sid forky
User: [email protected]>
Usertags: llvm-21
ftbfs with LLVM 21:
[...]
[ 60%] Building CXX object
src/cc/CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o
cd /build/reproducible-path/bpfcc-0.35.0+ds/obj-aarch64-linux-gnu/src/cc
&& /usr/bin/c++ -DEXPORT_USDT -DHAVE_EXTERNAL_LIBBPF -DHAVE_LIBLZMA
-I/usr/lib/llvm-21/include/../tools/clang/include
-I/build/reproducible-path/bpfcc-0.35.0+ds/src
-I/build/reproducible-path/bpfcc-0.35.0+ds/obj-aarch64-linux-gnu/src
-I/build/reproducible-path/bpfcc-0.35.0+ds/obj-aarch64-linux-gnu/src/cc
-I/build/reproducible-path/bpfcc-0.35.0+ds/src/cc
-I/build/reproducible-path/bpfcc-0.35.0+ds/obj-aarch64-linux-gnu/src/cc/frontends/b
-I/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/frontends/b
-I/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/frontends/clang
-I/usr/lib/llvm-21/include
-I/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/compat -g -O2
-ffile-prefix-map=/build/reproducible-path/bpfcc-0.35.0+ds=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -DCUSTOM_MACRO=true -Wall -fno-rtti -fPIC
-DBCC_PROG_TAG_DIR='"/var/tmp/bcc"' -Wno-unused-result -std=gnu++17
-D_GNU_SOURCE -DEXPERIMENTAL_KEY_INSTRUCTIONS -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -MD -MT
src/cc/CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o -MF
CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o.d -o
CMakeFiles/bpf-static.dir/usdt/usdt_args.cc.o -c
/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/usdt/usdt_args.cc
/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/frontends/clang/loader.cc:
In member function ‘int
ebpf::ClangLoader::do_compile(std::unique_ptr<llvm::Module>*,
ebpf::TableStorage&, bool, const std::vector<const char*,
std::allocator<const char*> >&, const std::vector<const char*,
std::allocator<const char*> >&, const std::string&, const
std::unique_ptr<llvm::MemoryBuffer>&, const std::string&,
ebpf::ProgFuncInfo&, std::string&, bool, const std::string&,
ebpf::fake_fd_map_def&, std::map<std::__cxx11::basic_string<char>,
std::vector<std::__cxx11::basic_string<char> > >&)’:
/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/frontends/clang/loader.cc:400:73:
error: no matching function for call to
‘clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_fd_ostream&,
clang::DiagnosticOptions*)’
400 | auto diag_client = new TextDiagnosticPrinter(llvm::errs(),
&*diag_opts);
|
^
/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/frontends/clang/loader.cc:400:73:
note: there is 1 candidate
In file included from
/build/reproducible-path/bpfcc-0.35.0+ds/src/cc/frontends/clang/loader.cc:47:
/usr/lib/llvm-21/include/clang/Frontend/TextDiagnosticPrinter.h:41:3:
note: candidate 1:
‘clang::TextDiagnosticPrinter::TextDiagnosticPrinter(llvm::raw_ostream&,
Looks like there's a patch for this upstream:
https://github.com/iovisor/bcc/commit/8c5c96ad3beeed2fa827017f451a952306826974
Cheers,
Emilio