Skip to contentSkip to conversation

Kernel compilation issue when enabling Stack Overflow Detection in

DISCUSSION Jeremy Huddleston 1 participant 1 message Apr 9, 2004

lore
Share & tools
lore
#0 lore raw

When I enable 'Stack overflow detection' (CONFIG_STACK_DEBUG) in 2.6.5 and earlier (tried 2.6.4 and 2.6.5-rcX), it caused the kernel compilation to die with the a warning that -pg and -fomit-frame-pointer should not be used simultaneously. I edited Makefile to remove the addition of -fomit-frame-pointer from the CFLAGS. Compilation continued, but when the kernel was linking .tmp_vmlinux1, I got unresolved symbol messages for '_mount'

Turning off CONFIG_STACK_DEBUG fixed the problem for me.

--Jeremy