[coreboot] Any plans to fix payload builds on 64-bit machines?

Patrick Georgi patrick at georgi-clan.de
Wed May 21 22:13:10 CEST 2014


Am 21.05.2014 03:31, schrieb Sean McNeil:
> All the recent changes to how the compiler is defined have now caused
> payloads like FILO and SeaBIOS to not build on X86_64 machines. Is
> anyone working to fix this?
--- a/src/arch/x86/Makefile.inc
+++ b/src/arch/x86/Makefile.inc
@@ -347,6 +347,7 @@ seabios:
                        CC="$(CC_x86_32)" LD="$(LD_x86_32)"
OBJDUMP="$(OBJDUMP_x86_32)" \
                        OBJCOPY="$(OBJCOPY_x86_32)"
STRIP="$(STRIP_x86_32)" \
                        AS="$(AS_x86_32)" \
+                       CFLAGS="$(CLAGS_x86_32)" \
                        CONFIG_SEABIOS_MASTER=$(CONFIG_SEABIOS_MASTER) \
                        CONFIG_SEABIOS_STABLE=$(CONFIG_SEABIOS_STABLE) \

CONFIG_SEABIOS_THREAD_OPTIONROMS=$(CONFIG_SEABIOS_THREAD_OPTIONROMS) \

might do, or

CC="$(CC_x86_32) $(CFLAGS_x86_x32)" two lines earlier.

I can't test since my host compiler _really_ is broken for
firmware-style build tasks.


Regards,
Patrick

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20140521/13808fc9/attachment.asc>


More information about the coreboot mailing list