From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MPIZG-0002PW-VT for qemu-devel@nongnu.org; Fri, 10 Jul 2009 12:03:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MPIZC-0002Nc-8X for qemu-devel@nongnu.org; Fri, 10 Jul 2009 12:03:22 -0400 Received: from [199.232.76.173] (port=39022 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MPIZC-0002NV-17 for qemu-devel@nongnu.org; Fri, 10 Jul 2009 12:03:18 -0400 Received: from mail-qy0-f174.google.com ([209.85.221.174]:33071) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MPIZB-0006CD-JO for qemu-devel@nongnu.org; Fri, 10 Jul 2009 12:03:17 -0400 Received: by qyk4 with SMTP id 4so768981qyk.4 for ; Fri, 10 Jul 2009 09:03:16 -0700 (PDT) Message-ID: <4A576641.4070107@codemonkey.ws> Date: Fri, 10 Jul 2009 11:03:13 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] MINGW: Unable to link multiboot.img + strnlen missing References: <97c31bd80907010604n72803d55qb4b79fb2d42847ce@mail.gmail.com> <4A4B637A.9070804@codemonkey.ws> <365C1EAE-D017-432C-A208-C93E00708A22@suse.de> <4A4B862B.2020302@codemonkey.ws> <0A41868E-F505-4397-A957-EF875AB28F08@suse.de> <97c31bd80907100836sb6c32d2kb9da6b0832a4223b@mail.gmail.com> In-Reply-To: <97c31bd80907100836sb6c32d2kb9da6b0832a4223b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bartlomiej Celary Cc: Filip Navara , Alexander Graf , qemu-devel@nongnu.org Bartlomiej Celary wrote: > Hi, > Just tried latest pull from git and noticed the "cannot perform PE > operations on non PE output file 'multiboot.img'." error. > Someone posted a snippet in a thread but I can't find it. If someone posts a top level patch, I'll apply it. Regards, Anthony Liguori > Is there any agreement on how to fix the linker issue under mingw? > > Thanks, > Bartek Celary > > 2009/7/1 Alexander Graf : > >> On 01.07.2009, at 17:52, Anthony Liguori wrote: >> >> >>> Alexander Graf wrote: >>> >>>> Why can't we just exclude mingw from building option roms? Let's just >>>> treat it like any non-x86 platform, so it takes the binary blobs. >>>> >>> The signrom problem is independent on mingw32. This makefile is doing >>> something that the rest of the build system is careful not to do: compile a >>> binary and run it as part of the build process. >>> >>> That's why hxtool is not written in C. >>> >> Well, the optionrom directory is a first of its kind: Full source to a >> binary blob. >> So would you prefer to have signrom be in sh? :-) >> >> Maybe I could come up with a version in brainfuck though ... hum >> >> Alex >> >> >>