Received: from eggs.gnu.org ([2001:4830:134:3::10]:53844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4dp-0004FP-Qa for qemu-devel@nongnu.org; Fri, 15 Jul 2016 11:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bO4dm-0005ov-KE for qemu-devel@nongnu.org; Fri, 15 Jul 2016 11:03:01 -0400 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]:33910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4dm-0005og-Cv for qemu-devel@nongnu.org; Fri, 15 Jul 2016 11:02:58 -0400 Received: by mail-wm0-x244.google.com with SMTP id q128so2530873wma.1 for ; Fri, 15 Jul 2016 08:02:57 -0700 (PDT) Sender: Paolo Bonzini References: <1468504347-6413-1-git-send-email-pbonzini@redhat.com> <1468504347-6413-2-git-send-email-pbonzini@redhat.com> From: Paolo Bonzini Message-ID: Date: Fri, 15 Jul 2016 17:02:53 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PULL 1/1] Add optionrom compatible with fw_cfg DMA version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: =?UTF-8?Q?Marc_Mar=c3=ad?= , qemu-devel , "Richard W . M . Jones" On 15/07/2016 15:26, Stefan Hajnoczi wrote: > On Thu, Jul 14, 2016 at 2:52 PM, Paolo Bonzini wrote: >> From: Marc MarĂ­ >> >> This optionrom is based on linuxboot.S. >> >> Signed-off-by: Marc MarĂ­ >> Signed-off-by: Richard W.M. Jones >> Message-Id: <1464027093-24073-2-git-send-email-rjones@redhat.com> >> [Add -fno-toplevel-reorder, support clang without -m16. - Paolo] >> Signed-off-by: Paolo Bonzini >> --- >> .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