Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] qemu: allow to build statically
Date: Mon, 3 Apr 2017 22:52:09 +0200	[thread overview]
Message-ID: <20170403225209.3925c84c@free-electrons.com> (raw)
In-Reply-To: <20170402143717.40a43f24@free-electrons.com>

Hello,

On Sun, 2 Apr 2017 14:37:17 +0200, Thomas Petazzoni wrote:

> On Wed,  9 Nov 2016 11:03:05 +0100, J?r?me Pouiller wrote:
> > Compiling Qemu statically allows to use it to chroot into target/. It is a
> > nice feature, so add an option for it.
> > 
> > Signed-off-by: J?r?me Pouiller <jezz@sysmic.org>
> > ---
> >  package/qemu/Config.in.host | 26 ++++++++++++++++++++++++++
> >  package/qemu/qemu.mk        |  4 ++++
> >  2 files changed, 30 insertions(+)  
> 
> Now that this patch is committed, we are seeing some build failures on
> host-qemu when linked statically:
> 
>   http://autobuild.buildroot.net/results/6bc/6bcfabc020fede51adcfafc9a570df5884d95696/build-end.log
>   http://autobuild.buildroot.net/results/4d0/4d0182da77cf386e57acf0565a18fc4628abbdc8/build-end.log
> 
> Could you have a look?

FWIW, I've reverted this patch. It's a feature that already wasn't seen
as very essential, and it's causing some build failures.

I don't think it's really easy to provide a functionality that allows
to build a host executable as a static binary, because most host
systems use glibc, and glibc doesn't officially support static linking.

Feel free to investigate those build failures (see the commit log for
the three different build failures) and send an updated version that
makes sure those build failures are fixed.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

      parent reply	other threads:[~2017-04-03 20:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-09 10:03 [Buildroot] [PATCH] qemu: allow to build statically Jérôme Pouiller
2017-04-01 14:09 ` Thomas Petazzoni
2017-04-02 12:37 ` Thomas Petazzoni
2017-04-02 21:14   ` Yann E. MORIN
2017-04-02 21:42     ` Thomas Petazzoni
2017-04-02 21:48       ` Yann E. MORIN
2017-04-03 20:52   ` Thomas Petazzoni [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=20170403225209.3925c84c@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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