Difference between revisions of "GRUB invaders"

From coreboot
Jump to: navigation, search
m (Use correct markup for horizontal line and remove the second unneeded one)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
GRUB invaders 1.0.0 has 3 problems which are triggered by newer gcc+binutils. A mail with a patch is available [http://www.coreboot.org/pipermail/coreboot/2009-April/046560.html here] and the patch is [http://www.coreboot.org/pipermail/coreboot/attachments/20090413/4bd0af62/attachment.ksh here].
 
GRUB invaders 1.0.0 has 3 problems which are triggered by newer gcc+binutils. A mail with a patch is available [http://www.coreboot.org/pipermail/coreboot/2009-April/046560.html here] and the patch is [http://www.coreboot.org/pipermail/coreboot/attachments/20090413/4bd0af62/attachment.ksh here].
 +
 +
----
 +
 +
User comment (compiling in Trisquel 6):
 +
 +
I applied the patch above.
 +
 +
When attempting to compile on Trisquel 6 I got this error:
 +
 +
video.c:(.text+0x277): undefined reference to `__stack_chk_fail'
 +
 +
Modify '''compile.sh''', find the line that says:
 +
 +
CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror"
 +
 +
Change it to say:
 +
 +
CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror -fno-stack-protector"
 +
 +
This made it compile for me.
  
 
{{PD-self}}
 
{{PD-self}}

Latest revision as of 10:21, 15 December 2013

GRUB invaders as payload.

GRUB invaders is a multi-boot compliant space invaders game. It can either be started from within GRUB (as a "kernel"), or it can be used as a coreboot payload.

GRUB invaders 1.0.0 has 3 problems which are triggered by newer gcc+binutils. A mail with a patch is available here and the patch is here.


User comment (compiling in Trisquel 6):

I applied the patch above.

When attempting to compile on Trisquel 6 I got this error:

video.c:(.text+0x277): undefined reference to `__stack_chk_fail'

Modify compile.sh, find the line that says:

CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror"

Change it to say:

CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror -fno-stack-protector"

This made it compile for me.

Public domain I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.

In case this is not legally possible:
I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.