x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -o libipt_NETFLOW.so libipt_NETFLOW_sh.o undeclared Error: unexpected error from compiler make -s -B -C /usr/src/linux M=/var/tmp/portage/net-firewall/ipt_netflow-2.6/work/ipt_netflow-2.6/cc-test-build modules make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. cc1: error: incompatible gcc/plugin versions cc1: error: failed to initialize plugin ./scripts/gcc-plugins/stackleak_plugin.so ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-j4-20211011-040203 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-11.2.0 * Python 3.9.7 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.55.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: HEAD of ::gentoo commit 119154ac98f5f87ba37d12bca1e04beae55f03b0 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 11 07:06:30 2021 +0000 2021-10-11 07:06:29 UTC emerge -qpvO net-firewall/ipt_netflow [ebuild N ] net-firewall/ipt_netflow-2.6 USE="-debug -dist-kernel -natevents -snmp"
Created attachment 744456 [details] emerge-info.txt
Created attachment 744459 [details] emerge-history.txt
Created attachment 744462 [details] environment
Created attachment 744465 [details] etc.portage.tar.bz2
Created attachment 744468 [details] net-firewall:ipt_netflow-2.6:20211011-081434.log
Created attachment 744471 [details] temp.tar.bz2
This looks like error produced when kernel is compiled with one version of GCC and external modules are compiled with other. Please note that sometimes even revbumps of GCC are considered as DIFFERENT versions. This problem is not related to net-firewall/ipt_netflow, but to all packages that ships external kernel modules