From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQaXG-0000BC-Tm for qemu-devel@nongnu.org; Tue, 02 Feb 2016 07:58:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQaXC-0005G8-Qb for qemu-devel@nongnu.org; Tue, 02 Feb 2016 07:58:22 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:34837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQaXC-0005G3-Jc for qemu-devel@nongnu.org; Tue, 02 Feb 2016 07:58:18 -0500 Received: by mail-wm0-x241.google.com with SMTP id l66so2301420wml.2 for ; Tue, 02 Feb 2016 04:58:18 -0800 (PST) Date: Tue, 2 Feb 2016 13:58:14 +0100 From: Marc =?UTF-8?B?TWFyw60=?= Message-ID: <20160202135814.68dc0dae@crunchbang> In-Reply-To: <1454411187.9300.54.camel@redhat.com> References: <1454065944-15887-1-git-send-email-markmb@redhat.com> <1454411187.9300.54.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v4] Add optionrom compatible with fw_cfg DMA version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: "Gabriel L. Somlo" , qemu-devel@nongnu.org, Kevin O'Connor , Stefan Hajnoczi , Paolo Bonzini , Marc =?UTF-8?B?TWFyw60=?= , Laszlo El Tue, 02 Feb 2016 12:06:27 +0100 Gerd Hoffmann escribi=C3=B3: > Hi, >=20 > > %.img: %.o > > - $(call quiet-command,$(LD) $(LDFLAGS_NOPIE) -Ttext 0 -e > > _start -s -o $@ $<," Building $(TARGET_DIR)$@") > > + $(call quiet-command,$(LD) $(LDFLAGS_NOPIE) -m elf_i386 > > -Ttext 0 -e _start -s -o $@ $<," Building $(TARGET_DIR)$@") >=20 > Hmm, that breaks the windows cross build: >=20 > make: Entering directory `/home/kraxel/projects/qemu/build-win32' > Building optionrom/linuxboot_dma.img > i686-w64-mingw32-ld: unrecognised emulation mode: elf_i386 > Supported emulations: i386pe > make[1]: *** [linuxboot_dma.img] Error 1 Thanks for reporting. I don't know much about Windows cross-builds. Any idea on how to solve the issue? Marc