From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjWRL-0005aV-RX for qemu-devel@nongnu.org; Thu, 21 Nov 2013 10:45:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjWRG-0002j7-TP for qemu-devel@nongnu.org; Thu, 21 Nov 2013 10:45:11 -0500 Received: from speedy.comstyle.com ([2001:470:1d:8c::2]:22435 helo=mail.comstyle.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjWRG-0002Te-Pk for qemu-devel@nongnu.org; Thu, 21 Nov 2013 10:45:06 -0500 Message-ID: <528E2A6E.1000305@comstyle.com> Date: Thu, 21 Nov 2013 10:44:46 -0500 From: Brad Smith MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Buildbot failure: multiboot.o link error on OpenBSD current List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Alexander Graf , qemu-devel On 20/11/13 4:15 AM, Stefan Hajnoczi wrote: > Sorry I forgot to CC qemu-devel on this: > > On Wed, Nov 20, 2013 at 10:06 AM, Stefan Hajnoczi wrote: >> Hi Brad, >> The QEMU buildbot is failing on brad_openbsd_current as follows: >> >> Building optionrom/multiboot.img >> ld: multiboot.o: relocation R_X86_64_16 can not be used when making a >> shared object; recompile with -fPIC >> multiboot.o: could not read symbols: Bad value >> >> http://buildbot.b1-systems.de/qemu/builders/default_openbsd_current/builds/590 >> >> Do you have time to investigate? >> >> If not, please CC people who could help. >> >> Thanks, >> Stefan > I have been meaning to try to attempt to come up with a patch to resolve this issue but haven't come up with anything. I have a patch in the OpenBSD ports tree that allows QEMU to build but its just taking that and having it fit within the configure/Makefile infrastructure and applied for OpenBSD only. http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/ports/emulators/qemu/patches/patch-pc-bios_optionrom_Makefile?rev=1.1;content-type=text%2Fplain The issue has come up as OpenBSD 5.3 and newer now builds all binaries by default on almost all of our architectures with PIE by default; so the ROMs need to be built with PIE disabled. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.