/usr/include/boost/lockfree/spsc_queue.hpp:902:38: required from boost::lockfree::spsc_queue<T, Options>::size_type boost::lockfree::spsc_queue<T, Options>::consume_all(Functor&&) [with Functor = const std::function<void(XskPacket&)>&; T = XskPacket; Options = {boost::lockfree::capacity<4096>}; size_type = long unsigned int] 902 | return base_type::consume_all( f ); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ xsk.cc:1194:37: required from here 1194 | d_incomingPacketsQueue.consume_all(callback); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/boost/lockfree/spsc_queue.hpp:359:20: error: no match for call to (const std::function<void(XskPacket&)>) (std::remove_reference<XskPacket&>::type) 359 | functor( std::move( *first ) ); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_systemd-20250323-150506 KEYWORDED/UNMASKED [gcc-15] Requested by sam <sys-devel/gcc-15.0.9999:15 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 20.1.1 llvm-config: 20.1.1 Python 3.12.9 go version go1.24.1 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) * Available Rust versions: [1] rust-bin-1.85.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21] 4) Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-11 [3] openjdk-bin-17 [4] openjdk-bin-21 system-vm HEAD of ::gentoo commit 11881d90563c5f94fc45072c7e1c6f2bd747799d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Mar 28 05:20:21 2025 +0000 2025-03-28 05:20:21 UTC emerge -qpvO =net-dns/dnsdist-1.9.8-r1 [ebuild N ] net-dns/dnsdist-1.9.8-r1 USE="cdb regex ssl systemd xdp -bpf -dnscrypt -dnstap -doh -doh3 -ipcipher -lmdb -quic -snmp -test -web" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Created attachment 923150 [details] emerge-info.txt
Created attachment 923151 [details] emerge-history.txt
Created attachment 923152 [details] environment
Created attachment 923153 [details] etc.clang.tar.xz
Created attachment 923154 [details] etc.portage.tar.xz
Created attachment 923155 [details] logs.tar.xz
Created attachment 923156 [details] net-dns:dnsdist-1.9.8-r1:20250328-060546.log
Created attachment 923157 [details] qlist-info.txt.xz
Created attachment 923158 [details] temp.tar.xz
Not sure if gcc-15 but adding just in case.
Caused by USE=xdp .. which of course I don't use at the moment :-( https://github.com/hhoffstaette/pdns/commit/05543aed8ccff2270a65d3f9b75e6e9d894b8b45
Strange: this does not seem to reproduce with either gcc-14 or clang-20.
(In reply to Holger Hoffstätte from comment #12) > Strange: this does not seem to reproduce with either gcc-14 or clang-20. PEBKAC: it reproduces just fine with clang-20, I just needed to also enable xdp. Preparing PR..
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9bcc34ea9b8c2a5d2b9c0e5261ec8de6b3c3edf commit c9bcc34ea9b8c2a5d2b9c0e5261ec8de6b3c3edf Author: Holger Hoffstätte <holger@applied-asynchrony.com> AuthorDate: 2025-03-28 11:52:56 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-28 15:04:05 +0000 net-dns/dnsdist: fix compatibility with boost::lockfree >=1.87.0 Revbump since the new patch changes the generated code. Closes: https://bugs.gentoo.org/952826 Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Closes: https://github.com/gentoo/gentoo/pull/41343 Signed-off-by: Sam James <sam@gentoo.org> ...ist-1.9.8-r1.ebuild => dnsdist-1.9.8-r2.ebuild} | 5 +- ...9.8-fix-compat-with-boost-lockfree-1.87.0.patch | 90 ++++++++++++++++++++++ 2 files changed, 94 insertions(+), 1 deletion(-)