qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 1/1] Add optionrom compatible with fw_cfg DMA ver


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PULL 1/1] Add optionrom compatible with fw_cfg DMA version
Date: Fri, 15 Jul 2016 17:02:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1


On 15/07/2016 15:26, Stefan Hajnoczi wrote:
> On Thu, Jul 14, 2016 at 2:52 PM, Paolo Bonzini <address@hidden> wrote:
>> From: Marc MarĂ­ <address@hidden>
>>
>> This optionrom is based on linuxboot.S.
>>
>> Signed-off-by: Marc MarĂ­ <address@hidden>
>> Signed-off-by: Richard W.M. Jones <address@hidden>
>> Message-Id: <address@hidden>
>> [Add -fno-toplevel-reorder, support clang without -m16. - Paolo]
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
>>  .gitignore                        |   4 +
>>  Makefile                          |   2 +-
>>  hw/i386/pc.c                      |  10 +-
>>  hw/nvram/fw_cfg.c                 |   2 +-
>>  include/hw/i386/pc.h              |   4 +
>>  include/hw/nvram/fw_cfg.h         |   1 +
>>  pc-bios/linuxboot_dma.bin         | Bin 0 -> 1024 bytes
>>  pc-bios/optionrom/Makefile        |  42 ++++--
>>  pc-bios/optionrom/code16gcc.h     |   3 +
>>  pc-bios/optionrom/linuxboot_dma.c | 294 
>> ++++++++++++++++++++++++++++++++++++++
>>  10 files changed, 349 insertions(+), 13 deletions(-)
>>  create mode 100644 pc-bios/linuxboot_dma.bin
>>  create mode 100644 pc-bios/optionrom/code16gcc.h
>>  create mode 100644 pc-bios/optionrom/linuxboot_dma.c
> 
>   CC    optionrom/linuxboot_dma.o
> clang-3.8: error: unsupported argument '-32' to option 'Wa,'
> 
> $ rpm -qi clang
> Name        : clang
> Version     : 3.8.0
> Release     : 2.fc24
> Architecture: x86_64

This is strange, the Makefile does check whether the compiler supports
the argument:

+QEMU_CFLAGS += $(call cc-option, $(QEMU_CFLAGS), $(Wa)-32)

Can you send the V=1 output?

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]