Stack protector
From coreboot
Disabling the stack protector in GCC
If compilation fails with errors like
vtxprintf.c:(.text+0x4eb2): undefined reference to `__stack_chk_fail'
you will need to disable the stack protector that is now enabled by default in the version of GCC shipped with some distros (e.g. Ubuntu Feisty Fawn).
Compiling coreboot
You can disable the stack protector by changing the CC line in
src/mainboard/YOURVENDORHERE/YOURMAINBOARDHERE/Options.lb
to
default CC="$(CROSS_COMPILE)gcc -m32 -fno-stack-protector"
Compiling FILO
You can disable the stack protector by changing the CC line in
makerules
to
CC=gcc -m32 -fno-stack-protector
