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

Bug 634742

Summary: app-emulation/virtualbox-modules-5.1.26 will not build: cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bkohler, deference, jstein, kentnl, masterzorag
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description deference 2017-10-19 03:13:45 UTC
[ebuild     U ] app-emulation/virtualbox-modules-5.1.28 [5.1.24] USE="-pax_kernel"

cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
make[4]: *** [/usr/src/linux-4.12.14-gentoo/scripts/Makefile.build:302: /var/tmp/portage/app-emulation/virtualbox-modules-5.1.26/work/vboxdrv/SUPLibAll.o] Error 1
make[4]: *** Waiting for unfinished jobs....


My kernel is gentoo-sources-4.12.14 aka. linux-4.12.14-gentoo.
It was buit with gcc-5.4.0-r3 aka. x86_64-pc-linux-gnu-5.4.0
The files mentioned here:
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \

Do exist and the kernel is fully built and installed, no make clean/mrproper was ever done.
Comment 1 deference 2017-10-19 03:13:59 UTC
Created attachment 499246 [details]
build.log
Comment 2 deference 2017-10-19 03:14:06 UTC
Created attachment 499248 [details]
emerge --info
Comment 3 Ben Kohler gentoo-dev 2018-10-31 15:44:48 UTC
Please reopen if this still affects 5.2.x