Difference between revisions of "Board:gigabyte/m57sli"

From coreboot
Jump to navigation Jump to search
Line 129: Line 129:
and updating all the lines that start with 'payload'. There are 2 occurrences, one for the normal image, and one for the fallback image.
and updating all the lines that start with 'payload'. There are 2 occurrences, one for the normal image, and one for the fallback image.


You may 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). You can do this by changing the CC line in
If you get compilation errors, you may need to disable the stack protector that is now enabled by default in the version of GCC shipped with some newer distros. See the [[stack protector]] page.
 
  src/mainboard/gigabyte/m57sli/Options.lb
 
to
 
  default CC="$(CROSS_COMPILE)gcc -m32 -fno-stack-protector"
 
This is only necessary if compilation fails with errors like:
 
  vtxprintf.c:(.text+0x4eb2): undefined reference to `__stack_chk_fail'


Now build a target directory:
Now build a target directory:

Revision as of 19:36, 20 June 2007