All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad Smith <brad@comstyle.com>
To: Stefan Hajnoczi <stefanha@gmail.com>
Cc: Alexander Graf <agraf@suse.de>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Buildbot failure: multiboot.o link error on OpenBSD current
Date: Thu, 21 Nov 2013 10:44:46 -0500	[thread overview]
Message-ID: <528E2A6E.1000305@comstyle.com> (raw)
In-Reply-To: <CAJSP0QVj+0pLA_2wHnBOjvqVB+-ZBrJ9DynsvFa3rLdavLUcmA@mail.gmail.com>

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 <stefanha@gmail.com> 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.

      reply	other threads:[~2013-11-21 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAJSP0QUueLOCE9d7zeGa3_iQpkYMn4KTdVE0V9pzSaSZunYL+A@mail.gmail.com>
2013-11-20  9:15 ` [Qemu-devel] Buildbot failure: multiboot.o link error on OpenBSD current Stefan Hajnoczi
2013-11-21 15:44   ` Brad Smith [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=528E2A6E.1000305@comstyle.com \
    --to=brad@comstyle.com \
    --cc=agraf@suse.de \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.