grsecurity-2.9.1-3.8.4-201303252035 compile issue
Posted: Wed Mar 27, 2013 8:58 pm
Hello,
My linux distro just updated to gcc 4.8.0 (gcc -v output below) and now I get the following compile error related to target.h:
# make V=1 bzImage
make -f scripts/Makefile.build obj=tools/gcc
g++ -Wp,-MD,tools/gcc/.constify_plugin.o.d -O2 -Wall -W -fno-delete-null-pointer-checks -I/usr/lib/gcc/i486-slackware-linux/4.8.0/plugin/include -std=gnu++98 -ggdb -Wno-unused-parameter -fPIC -c -o tools/gcc/constify_plugin.o tools/gcc/constify_plugin.c
tools/gcc/constify_plugin.c:35:20: fatal error: target.h: No such file or directory
#include "target.h"
^
compilation terminated.
make[1]: *** [tools/gcc/constify_plugin.o] Error 1
make: *** [gcc-plugins] Error 2
# gcc -v
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.8.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slackware-linux/4.8.0/lto-wrapper
Target: i486-slackware-linux
Configured with: ../gcc-4.8.0/configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib/python2.7/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib/jvm/jre --with-jvm-root-dir=/usr/lib/jvm --with-jvm-jar-dir=/usr/lib/jvm/jvm-exports --with-arch-directory=i386 --with-antlr-jar=/tmp/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.8.0 (GCC)
Thanks,
Tim
My linux distro just updated to gcc 4.8.0 (gcc -v output below) and now I get the following compile error related to target.h:
# make V=1 bzImage
make -f scripts/Makefile.build obj=tools/gcc
g++ -Wp,-MD,tools/gcc/.constify_plugin.o.d -O2 -Wall -W -fno-delete-null-pointer-checks -I/usr/lib/gcc/i486-slackware-linux/4.8.0/plugin/include -std=gnu++98 -ggdb -Wno-unused-parameter -fPIC -c -o tools/gcc/constify_plugin.o tools/gcc/constify_plugin.c
tools/gcc/constify_plugin.c:35:20: fatal error: target.h: No such file or directory
#include "target.h"
^
compilation terminated.
make[1]: *** [tools/gcc/constify_plugin.o] Error 1
make: *** [gcc-plugins] Error 2
# gcc -v
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.8.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i486-slackware-linux/4.8.0/lto-wrapper
Target: i486-slackware-linux
Configured with: ../gcc-4.8.0/configure --prefix=/usr --libdir=/usr/lib --mandir=/usr/man --infodir=/usr/info --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,go,java,lto,objc --enable-threads=posix --enable-checking=release --enable-objc-gc --with-system-zlib --with-python-dir=/lib/python2.7/site-packages --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --enable-lto --with-gnu-ld --verbose --enable-java-home --with-java-home=/usr/lib/jvm/jre --with-jvm-root-dir=/usr/lib/jvm --with-jvm-jar-dir=/usr/lib/jvm/jvm-exports --with-arch-directory=i386 --with-antlr-jar=/tmp/gcc/antlr-runtime-3.4.jar --enable-java-awt=gtk --disable-gtktest --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 4.8.0 (GCC)
Thanks,
Tim