qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Anthony Liguori <aliguori@amazon.com>
Cc: qemu-devel@nongnu.org, Brad Smith <brad@comstyle.com>
Subject: Re: [Qemu-devel] [PATCH v3] Fix QEMU build on OpenBSD on x86 archs
Date: Thu, 2 Jan 2014 15:55:35 +0800	[thread overview]
Message-ID: <20140102075535.GA3509@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20131211004908.GA19241@rox.home.comstyle.com>

On Tue, Dec 10, 2013 at 07:49:08PM -0500, Brad Smith wrote:
> This resolves the build issue with building the ROMs on OpenBSD on x86 archs.
> As of OpenBSD 5.3 the compiler builds PIE binaries by default and thus the
> whole OS/packages and so forth. The ROMs need to have PIE disabled. This
> is my initial attempt at trying to get somehting upstream so that QEMU
> both builds out of the box and to resolve the build issue with the
> buildbots that has been around for awhile. We have a patch in our ports
> tree but it is just the flags hardcoded into the Makefile which obviously
> is not appropriate for upstream.
> 
> From the OpenBSD buildbots..
>   Building optionrom/multiboot.img
> ld: multiboot.o: relocation R_X86_64_16 can not be used when making a shared object; recompile with -fPIC
> 
> Signed-off by: Brad Smith <brad@comstyle.com>
> ---
> 
> Change in v2:
>     * Fix '==' is not portable syntax.
> 
> Change in v3:
>     * Rename variables and use compile_prog to detect the presence of the compiler/linker
>       flags, as suggested by Stefan Weil.

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

  parent reply	other threads:[~2014-01-02  7:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-11  0:49 [Qemu-devel] [PATCH v3] Fix QEMU build on OpenBSD on x86 archs Brad Smith
2013-12-15  4:27 ` Brad Smith
2013-12-20 11:19   ` Brad Smith
2014-01-14 19:08     ` Brad Smith
2014-01-02  7:55 ` Stefan Hajnoczi [this message]
2014-01-26  1:37   ` Brad Smith
2014-01-26 18:06     ` Paolo Bonzini
2014-01-26 21:40       ` Brad Smith
2014-01-26 22:12         ` Anthony Liguori
2014-01-26 23:04           ` Brad Smith
2014-02-16 22:00       ` Brad Smith
2014-02-17 16:20         ` Peter Maydell
2014-02-18  0:36           ` Brad Smith
2014-02-18  9:45             ` Peter Maydell
2014-02-18 18:02               ` Brad Smith

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=20140102075535.GA3509@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=aliguori@amazon.com \
    --cc=brad@comstyle.com \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).