grsecurity-3.1-4.6.3-201607051723 doesn't compile
Posted: Wed Jul 06, 2016 1:27 am
Hello
I just try compile Kernel 4.6.3 with grsecurity-3.1-4.6.3-201607051723.patch and got crash:
root@taken:/usr/src/linux# make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
HOSTCXX -fPIC scripts/gcc-plugins/colorize_plugin.o
HOSTLLD -shared scripts/gcc-plugins/colorize_plugin.so
HOSTCXX -fPIC scripts/gcc-plugins/initify_plugin.o
HOSTLLD -shared scripts/gcc-plugins/initify_plugin.so
CC kernel/bounds.s
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CC arch/x86/kernel/asm-offsets.s
In file included from include/linux/kasan.h:4:0,
from include/linux/slab.h:136,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:8:
include/linux/sched.h: In function 'current_is_ptracer':
include/linux/sched.h:2453:27: error: 'struct task_struct' has no member named 'exec_id'
*exec_id = task->parent->exec_id;
^
Kbuild:80: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
Makefile:1010: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
Best Regards
TaKeN
I just try compile Kernel 4.6.3 with grsecurity-3.1-4.6.3-201607051723.patch and got crash:
root@taken:/usr/src/linux# make
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/bin2c
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
HOSTLD arch/x86/tools/relocs
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
HOSTCXX -fPIC scripts/gcc-plugins/colorize_plugin.o
HOSTLLD -shared scripts/gcc-plugins/colorize_plugin.so
HOSTCXX -fPIC scripts/gcc-plugins/initify_plugin.o
HOSTLLD -shared scripts/gcc-plugins/initify_plugin.so
CC kernel/bounds.s
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CC arch/x86/kernel/asm-offsets.s
In file included from include/linux/kasan.h:4:0,
from include/linux/slab.h:136,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:8:
include/linux/sched.h: In function 'current_is_ptracer':
include/linux/sched.h:2453:27: error: 'struct task_struct' has no member named 'exec_id'
*exec_id = task->parent->exec_id;
^
Kbuild:80: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
Makefile:1010: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
Best Regards
TaKeN