compile crashes

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

compile crashes

Postby chrismfz » Sat Jan 28, 2006 11:31 pm

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 ?
chrismfz
 
Posts: 1
Joined: Sat Jan 28, 2006 11:29 pm

Postby Thrawn » Sun Jan 29, 2006 7:41 pm

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)
Thrawn
 
Posts: 35
Joined: Wed Nov 23, 2005 9:54 am


Return to grsecurity support

cron