I'm having the same issue as this one here https://forums.grsecurity.net/viewtopic.php?f=3&t=3484
I'm using Fedora 20.
- Code: Select all
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.
I tried to collect all information requested in that other thread for debugging:
- Code: Select all
gcc -E -shared - -o /dev/null -I`gcc -print-file-name=plugin`/include 2>&1 <<EOF
> #include "gcc-plugin.h"
> #include "tree.h"
> #include "tm.h"
> #include "rtl.h"
> #ifdef ENABLE_BUILD_WITH_CXX
> #warning g++
> #else
> #warning gcc
> #endif
> EOF
output:
- Code: Select all
<stdin>:8:2: warning: #warning gcc [-Wcpp]
- Code: Select all
rpm -qa gcc*
gcc-4.8.2-7.fc20.x86_64
gcc-plugin-devel-4.8.2-7.fc20.x86_64
- Code: Select all
bash ./scripts/gcc-plugin.sh gcc g++ gcc
g++
Do you have any hints for me on how to find out why it fails or how this issue can be fixed?
thanks in advance!