Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19536 - gentoo-sources-2.4.20-r3 build problems w/ grsecurity
Summary: gentoo-sources-2.4.20-r3 build problems w/ grsecurity
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jay Pfeifer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-18 06:14 UTC by Arkadi Shishlov
Modified: 2003-05-03 21:36 UTC (History)
0 users

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


Attachments
Kernel config (.config,28.98 KB, text/plain)
2003-04-18 06:15 UTC, Arkadi Shishlov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadi Shishlov 2003-04-18 06:14:48 UTC
make[2]: Entering directory `/usr/src/linux-2.4.20-gentoo-r3/grsecurity'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-gentoo-r3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O3 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   -nostdinc
-iwithprefix include -DKBUILD_BASENAME=grsec_chroot  -c -o grsec_chroot.o
grsec_chroot.c
In file included from /usr/src/linux-2.4.20-gentoo-r3/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.20-gentoo-r3/include/linux/list.h:6,
                 from /usr/src/linux-2.4.20-gentoo-r3/include/linux/wait.h:14,
                 from /usr/src/linux-2.4.20-gentoo-r3/include/linux/fs.h:12,
                 from /usr/src/linux-2.4.20-gentoo-r3/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.20-gentoo-r3/include/linux/binfmts.h:6,
                 from /usr/src/linux-2.4.20-gentoo-r3/include/linux/sched.h:9,
                 from grsec_chroot.c:2:
/usr/src/linux-2.4.20-gentoo-r3/include/asm/processor.h:288:1: warning:
"TASK_UNMAPPED_BASE" redefined
/usr/src/linux-2.4.20-gentoo-r3/include/asm/processor.h:283:1: warning: this is
the location of the previous definition
grsec_chroot.c: In function `gr_handle_chroot_setpriority':
grsec_chroot.c:56: structure has no member named `nice'
make[2]: *** [grsec_chroot.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r3/grsecurity'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-gentoo-r3/grsecurity'
make: *** [_dir_grsecurity] Error 2

Also note TASK_BASE warning, seem to be improperly nested defines (x86 arch).
Attaching config.

Reproducible: Always
Steps to Reproduce:
Comment 1 Arkadi Shishlov 2003-04-18 06:15:59 UTC
Created attachment 10827 [details]
Kernel config
Comment 2 Jay Pfeifer (RETIRED) gentoo-dev 2003-05-03 21:36:10 UTC
fixed in pfeifer-sources-2.4.20_pre9 which soon should be gentoo-sources-2.4.20-r4

i've tested it with your .config and it compiles fine now.

thanks,

Jay