Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28709 - gentoo-sources-2.4.20-r7 will not compile if grsecurity is disabled and the crypt USE flag is enabled
Summary: gentoo-sources-2.4.20-r7 will not compile if grsecurity is disabled and the c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-14 09:25 UTC by Mitchell
Modified: 2003-09-14 11:45 UTC (History)
0 users

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


Attachments
The .config file used for my kernel (.config,17.72 KB, text/plain)
2003-09-14 09:31 UTC, Mitchell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mitchell 2003-09-14 09:25:34 UTC
When I try to emerge gentoo-source-2.4.20-r7, it keeps erroring out on grsec.  
I do not have grsecurity enabled and the message states that there is an error 
is the grsec_disabled object file.  This stops the kernel from compiling.

Reproducible: Always
Steps to Reproduce:
1. emerge gentoo-sources
2. cd /usr/src/linux
3. make dep && make clean bzImage modules modules_install
Actual Results:  
grsec_disabled.c: In function `gr_handle_sysctl':
grsec_disabled.c:28: parse error before "return"
make[2]: *** [grsec_disabled.o] Error 1

Expected Results:  
Finished compiling the kernel

emerge -pv gentoo-sources

[ebuild   R   ] sys-kernel/gentoo-sources-2.4.20-r7  -build +crypt -evms2 -
aavm -usagi -doc -tcltk

emerge info

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 Celeron (Coppermine)
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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.us.gentoo.org/gentoo-portage"
USE="x86 apm crypt cups foomaticdb libg++ libwww mad mmx motif ncurses nls 
spell svga truetype xml2 zlib gdbm berkdb slang readline gpm tcpd pam ssl perl 
python -java -gtk -xv samba acl -X -alsa -oss -3dnow -arts -avi -encode -gif -
imlib -jpeg -kde -gnome -mikmod -mpeg -oggvorbis -opengl -pdflib -png -qt -
quicktime -sdl -xmms"
Comment 1 Mitchell 2003-09-14 09:31:53 UTC
Created attachment 17701 [details]
The .config file used for my kernel
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-09-14 11:45:59 UTC
Fixed in CVS. Make sure you do an 'emerge sync' and then remerge your kernel sources.