make -f scripts/Makefile.build obj=fs gcc -Wp,-MD,fs/.exec.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -mpreferred-stack-boundary=2 -march=pentium2 -mregparm=3 -Iinclude/asm-i386/mach-default -O2 -fomit-frame-pointer -Wdeclaration-after-statement -DKBUILD_BASENAME=exec -DKBUILD_MODNAME=exec -c -o fs/exec.o fs/exec.c fs/exec.c: In function `pax_report_fault': fs/exec.c:1580: error: structure has no member named `curr_ip' fs/exec.c:1582: error: structure has no member named `curr_ip' fs/exec.c:1582: error: structure has no member named `curr_ip' fs/exec.c:1582: error: structure has no member named `curr_ip' fs/exec.c:1582: error: structure has no member named `curr_ip' fs/exec.c:1582: error: structure has no member named `role' fs/exec.c:1583: error: structure has no member named `acl' fs/exec.c:1585: error: structure has no member named `curr_ip' fs/exec.c:1587: error: structure has no member named `curr_ip' fs/exec.c:1587: error: structure has no member named `curr_ip' fs/exec.c:1587: error: structure has no member named `curr_ip' fs/exec.c:1587: error: structure has no member named `curr_ip' fs/exec.c:1591: error: structure has no member named `role' fs/exec.c:1592: error: structure has no member named `acl' make[1]: *** [fs/exec.o] Error 1 make: *** [fs] Error 2 Portage 2.0.50-r11 (x86, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.7-hardened-r8) ================================================================= System uname: 2.6.7-hardened-r8 i686 Celeron (Mendocino) Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -ftracer -fstack-protector-all" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -ffast-math -fforce-addr -falign-functions=4 -ftracer -fstack-protector-all" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoload ccache sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.lug.ro/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow aalib acl acpi adns apache2 berkdb bzlib caps cdb crypt cups curl curlwrappers dio exif fam flac ftp gd gmp gnutls hardened imagemagick imap java junit ldap mad maildir mailwrapper memlimit mhash mmap mmx ncurses nls nptl offensive oggvorbis pam pcntl pcre pic pie posix readline samba selinux session shared sharedmem slang soap sockets socks5 speex sqlite sse ssl svg sysvipc tcpd theora tiff unicode usb vhosts wmf x86 xml xmlrpc zlib"
Created attachment 39186 [details] .config
You have to enable grsec to work around this which you should do anyway to get PaX. However this should be fixed some time after >=2.6.9
I didn't find any documentation on the project's page about the implications of enabling grsec, pax and selinux at the same time, so I figured I would only enable pax and selinux until I find more info...
*** Bug 60232 has been marked as a duplicate of this bug. ***