Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60232 - 'make bzImage' or 'make' fails in fs/exec.c when grsecurity is not enabled.
Summary: 'make bzImage' or 'make' fails in fs/exec.c when grsecurity is not enabled.
Status: RESOLVED DUPLICATE of bug 63203
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Hardened Gentoo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 08:47 UTC by Stephen Torri
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
kernel configuration for 2.6.7-hardened-r7 (config.kernel,23.33 KB, text/plain)
2004-08-13 08:48 UTC, Stephen Torri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Torri 2004-08-13 08:47:23 UTC
When I compile the linux-2.6.7-hardened-r7 kernel using 'make bzImage' after configuring it per the selinux x86 install guide it fails with the following errors:

make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      fs/exec.o
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


Reproducible: Always
Steps to Reproduce:
1. Copy config.log (attached) into the kernel source directory as .config
2. Run make oldconfig
3. Run make or make bzImage

Actual Results:  
Error that was reported above

Expected Results:  
Compiled.

Portage 2.0.50-r9 (x86, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-hardened-r2)
=================================================================
System uname: 2.4.26-hardened-r2 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages loadpolicy sandbox sfperms
strict userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="berkdb crypt gdbm libwww ncurses nls pam perl png python readline selinux
ssl tcpd x86 zlib"
Comment 1 Stephen Torri 2004-08-13 08:48:14 UTC
Created attachment 37359 [details]
kernel configuration for 2.6.7-hardened-r7
Comment 2 Stephen Torri 2004-08-13 09:22:42 UTC
Work around is to simply enable grsecurity. I did not make any changes beyond that. The default setting of grsecurity is "custom". I left it at then and was able to compile past the fs/exec.c file.
Comment 3 Chris PeBenito (RETIRED) gentoo-dev 2004-09-08 14:47:09 UTC

*** This bug has been marked as a duplicate of 63203 ***