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

Bug 674018

Summary: sys-power/bbswitch-0.8 - cc1: error: incompatible gcc/plugin versions
Product: Gentoo Linux Reporter: Mateusz Mandera <mateusz.mandera>
Component: Current packagesAssignee: Adam Feldman <np-hardass>
Status: RESOLVED CANTFIX    
Severity: normal CC: mva, proxy-maint, rei4dan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Mateusz Mandera 2018-12-29 16:59:15 UTC
Throws errors:
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/randomize_layout_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: fail to initialize plugin ./scripts/gcc-plugins/latent_entropy_plugin.so

Works fine on lower kernel versions
Comment 1 Mateusz Mandera 2018-12-29 17:00:49 UTC
Created attachment 558862 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-12-30 12:33:31 UTC
You need to completely rebuild your kernel and then re-emerge kernel module packages using the same compiler. That last bit is important.