gcc plugin error on centos 7

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

gcc plugin error on centos 7

Postby btnet » Sun Oct 12, 2014 9:56 am

Hi folks,
Issues here compiling bzImage

Makefile:650: *** Your gcc installation does not support plugins. If the necessary headers for plugin support are missing, they should be installed. On Debian, apt-get install gcc-<ver>-plugin-dev. If you choose to ignore this error and lessen the improvements provided by this patch, re-run make with the DISABLE_PAX_PLUGINS=y argument.. Stop.

however,

Package gcc-plugin-devel-4.8.2-16.2.el7_0.x86_64 already installed and latest version

so this is gcc 4.8 and that is the only plugin devel I have. Worked on centos 6
btnet
 
Posts: 21
Joined: Tue Jan 29, 2008 12:59 pm

Re: gcc plugin error on centos 7

Postby PaX Team » Sun Oct 12, 2014 10:46 am

which grsec version is this? also can you run sh -x scripts/gcc-plugin.sh g++ g++ gcc by hand and post the output? (if it's not a recent grsec patch then you'll need bash instead of sh and supply the gcc/g++ versions that you use for kernel compilation)
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: gcc plugin error on centos 7

Postby btnet » Sun Oct 12, 2014 12:38 pm

Hello, I found the issue now.
The thing is I was missing gcc-c++ rather than the plugin dev. The error was confusing me.
This is the latest gcc patch for 2.14 kernel.
btnet
 
Posts: 21
Joined: Tue Jan 29, 2008 12:59 pm


Return to grsecurity support