Page 1 of 1

compile crashes

PostPosted: Sat Jan 28, 2006 11:31 pm
by chrismfz
after downloading kernel 2.6.14.6 and grsecurity patch
2.1.8, untarring them and patching the kernel
when trying to compile it with grsecurity enabled I get multipple errors like
grsecurity/built-in.o(.text+0x852f): In function `gr_search_accept':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0x8545): In function `gr_search_accept':
: undefined reference to `__stack_smash_handler'
grsecurity/built-in.o(.text+0x8568): In function `gr_search_udp_sendmsg':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0x859b): In function `gr_search_udp_sendmsg':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0x85b1): In function `gr_search_udp_sendmsg':
: undefined reference to `__stack_smash_handler'
grsecurity/built-in.o(.text+0x85fb): In function `gr_search_udp_recvmsg':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0x8649): In function `gr_search_udp_recvmsg':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0x8665): In function `gr_search_udp_recvmsg':
: undefined reference to `__stack_smash_handler'
grsecurity/built-in.o(.text+0xac87): In function `gr_log_varargs':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0xad1b): In function `gr_log_varargs':
: undefined reference to `__guard'
grsecurity/built-in.o(.text+0xad34): In function `gr_log_varargs':
: undefined reference to `__stack_smash_handler'
lib/lib.a(vsprintf.o)(.text+0x34b): In function `number':
: undefined reference to `__guard'
lib/lib.a(vsprintf.o)(.text+0x573): In function `number':
: undefined reference to `__guard'
lib/lib.a(vsprintf.o)(.text+0x59d): In function `number':
: undefined reference to `__stack_smash_handler'
make: *** [vmlinux] Error 1


any ideas ?

PostPosted: Sun Jan 29, 2006 7:41 pm
by Thrawn
Mhh let me guess - you have an system with an propolice patched gcc (for example gentoo hardend or adamantix)?

It depends on your distri how to disable it (-fno-stack-protector is the magic word)