Received: from eggs.gnu.org ([2001:4830:134:3::10]:34659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZN0B-00015B-HR for qemu-devel@nongnu.org; Mon, 15 Aug 2016 14:52:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZN06-0000Vh-2s for qemu-devel@nongnu.org; Mon, 15 Aug 2016 14:52:46 -0400 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:48597 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZN05-0000VM-RP for qemu-devel@nongnu.org; Mon, 15 Aug 2016 14:52:41 -0400 References: <1470672688-6754-1-git-send-email-peter.maydell@linaro.org> From: Brad Smith Message-ID: Date: Mon, 15 Aug 2016 14:52:33 -0400 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH for-2.7] pc-bios/optionrom: Fix OpenBSD build with better detection of linker emulation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , QEMU Developers Cc: Paolo Bonzini , Sean Bruno , Patch Tracking On 8/15/2016 1:26 PM, Peter Maydell wrote: > On 8 August 2016 at 17:11, Peter Maydell wrote: >> The various host OSes are irritatingly variable about the name >> of the linker emulation we need to pass to ld's -m option to >> build the i386 option ROMs. Instead of doing this via a >> CONFIG ifdef, check in configure whether any of the emulation >> names we know about will work and pass the right answer through >> to the makefile. If we can't find one, we fall back to not trying >> to build the option ROMs, in the same way we would for a non-x86 >> host platform. >> >> This is in particular necessary to unbreak the build on OpenBSD, >> since it wants a different answer to FreeBSD and we don't have >> an existing CONFIG_ variable that distinguishes the two. >> >> Signed-off-by: Peter Maydell >> --- >> This works for Linux and for the Windows builds; I don't have any >> BSD systems to test it on. Brad and Sean, can I ask you to test this >> on OpenBSD and FreeBSD, please? >> >> (I think this is going to miss -rc2. Sorry about that; we'll >> get OpenBSD builds fixed for -rc3.) > Applied to master (as-is, in the absence of a build check for > i386 OpenBSD; we can always add the elf_i386_obsd entry to the > list as a later patch, and if not then i386 is no worse off > than other non-x86-64 OpenBSD hosts: it just won't build the > option roms from source). > > thanks > -- PMM I am fine with that. Thank you.