GRUB invaders: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
PaulePanter (talk | contribs) m (Use correct markup for horizontal line and remove the second unneeded one) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
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): | User comment (compiling in Trisquel 6): | ||
Line 12: | Line 12: | ||
When attempting to compile on Trisquel 6 I got this error: | When attempting to compile on Trisquel 6 I got this error: | ||
video.c:(.text+0x277): undefined reference to `__stack_chk_fail' | |||
CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror" | Modify '''compile.sh''', find the line that says: | ||
CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror" | |||
Change it to say: | Change it to say: | ||
CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror -fno-stack-protector" | CFLAGS="-fno-builtin -nostdinc -O2 -I. -Wall -Werror -fno-stack-protector" | ||
This made it compile for me. | This made it compile for me. | ||
{{PD-self}} | {{PD-self}} |
Latest revision as of 10:21, 15 December 2013
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.
I, the copyright holder of this work, hereby release it into the public domain. This applies worldwide.
In case this is not legally possible: |