Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63203 - hardened-dev-sources with pax enabled won't compile
Summary: hardened-dev-sources with pax enabled won't compile
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Hardened Gentoo
URL:
Whiteboard:
Keywords:
: 60232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-08 02:09 UTC by Andrei Ivanov
Modified: 2004-09-08 14:47 UTC (History)
1 user (show)

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


Attachments
.config (kconfig,19.30 KB, text/plain)
2004-09-08 02:11 UTC, Andrei Ivanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Ivanov 2004-09-08 02:09:49 UTC
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"
Comment 1 Andrei Ivanov 2004-09-08 02:11:18 UTC
Created attachment 39186 [details]
.config
Comment 2 solar (RETIRED) gentoo-dev 2004-09-08 13:13:28 UTC
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
Comment 3 Andrei Ivanov 2004-09-08 13:29:56 UTC
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...
Comment 4 Chris PeBenito (RETIRED) gentoo-dev 2004-09-08 14:47:09 UTC
*** Bug 60232 has been marked as a duplicate of this bug. ***