Page 1 of 1

gcc plugin error on centos 7

PostPosted: Sun Oct 12, 2014 9:56 am
by btnet
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

Re: gcc plugin error on centos 7

PostPosted: Sun Oct 12, 2014 10:46 am
by PaX Team
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)

Re: gcc plugin error on centos 7

PostPosted: Sun Oct 12, 2014 12:38 pm
by btnet
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.