Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 817776

Summary: net-firewall/ipt_netflow-2.6 - Error: unexpected error from compiler
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Sergey Popov <pinkbyte>
Status: RESOLVED INVALID    
Severity: normal CC: netmon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
net-firewall:ipt_netflow-2.6:20211011-081434.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-10-11 09:18:33 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2021-10-11 09:18:34 UTC
Created attachment 744456 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-11 09:18:35 UTC
Created attachment 744459 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-11 09:18:37 UTC
Created attachment 744462 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-10-11 09:18:38 UTC
Created attachment 744465 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-11 09:18:39 UTC
Created attachment 744468 [details]
net-firewall:ipt_netflow-2.6:20211011-081434.log
Comment 6 Toralf Förster gentoo-dev 2021-10-11 09:18:40 UTC
Created attachment 744471 [details]
temp.tar.bz2
Comment 7 Sergey Popov gentoo-dev 2021-10-18 09:40:21 UTC
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