qemu-e2k/pc-bios/optionrom
Christian Ehrhardt 9584d3d00a build: disable fcf-protection on -march=486 -m16
Some of the roms build with -march=i486 -m16 which is incompatible
with -fcf-protection. That in turn is can be set by default, for
example in Ubuntu [1].
That causes:
 cc1: error: ‘-fcf-protection’ is not compatible with this target

This won't work on -march=i486 -m16 and no matter if set or not we can
override it to "none" if the option is known to the compiler to be
able to build reliably.

Fixes: https://gitlab.com/qemu-project/qemu/-/issues/889

[1]: https://wiki.ubuntu.com/ToolChain/CompilerFlags#A-fcf-protection

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220323090713.1002588-1-christian.ehrhardt@canonical.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-03-24 18:44:07 +01:00
..
Makefile build: disable fcf-protection on -march=486 -m16 2022-03-24 18:44:07 +01:00
code16gcc.h Add optionrom compatible with fw_cfg DMA version 2016-07-14 15:50:52 +02:00
flat.lds optionrom: fix compilation with mingw docker target 2016-08-09 22:57:36 +02:00
kvmvapic.S kvmvapic: Use optionrom helpers 2012-02-18 12:16:01 +02:00
linuxboot.S linuxboot: fix loading old kernels 2014-12-15 12:21:03 +01:00
linuxboot_dma.c linuxboot_dma: move common functions in a new header 2019-02-05 16:50:17 +01:00
multiboot.S optionrom: add a DMA-enabled multiboot ROM 2021-11-02 15:57:27 +01:00
multiboot_dma.S optionrom: add a DMA-enabled multiboot ROM 2021-11-02 15:57:27 +01:00
optionrom.h optionrom: add a DMA-enabled multiboot ROM 2021-11-02 15:57:27 +01:00
optrom.h linuxboot_dma: move common functions in a new header 2019-02-05 16:50:17 +01:00
optrom_fw_cfg.h linuxboot_dma: move common functions in a new header 2019-02-05 16:50:17 +01:00
pvh.S optionrom: add new PVH option rom 2019-02-05 16:50:17 +01:00
pvh_main.c optionrom/pvh: scan entire RSDP Area 2020-03-16 22:07:42 +01:00