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"
Created attachment 17701 [details] The .config file used for my kernel
Fixed in CVS. Make sure you do an 'emerge sync' and then remerge your kernel sources.