qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Aleksandar Markovic <aleksandar.qemu.devel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [QUESTION] Getting configure options for a given QEMU executable?
Date: Fri, 20 Mar 2020 10:03:25 +0000	[thread overview]
Message-ID: <20200320100325.GB2608355@redhat.com> (raw)
In-Reply-To: <CAHiYmc4BaD+Bz3kchga2UCoernvvfq=Zc_wJyti05En-4QAKSA@mail.gmail.com>

On Fri, Mar 20, 2020 at 07:11:03AM +0100, Aleksandar Markovic wrote:
> Hi,
> 
> Given a QEMU executable, is there a way to find out the configure options
> it was built with?

No, you need to get the original build logs.

The binary should contain the full build version (ie the QEMU version
and the distro specific package release).

On Fedora we build with the "annobin" plugin, which records some info
about GCC options in the binary, but that's still quite distinct from
any configure args.

> (context: we frequently get bugs involving QEMU built for a particular
> Linux distribution, and knowledge about its configure options would
> certainly be helpful while reproducing and debugging)

For Fedora the logs are all publically available at a predictable URL e.g.

https://kojipkgs.fedoraproject.org/packages/qemu/$VERSION/$RPM-RELEASE/data/logs/$ARCH/build.log

so 

https://kojipkgs.fedoraproject.org/packages/qemu/4.0.0/5.fc31/data/logs/x86_64/build.log

Not sure where other distros might store this info. If people have info
for more distros, perhaps we could create a wiki page making a list of
where each distro keeps its biuld logs ?

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



  reply	other threads:[~2020-03-20 10:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20  6:11 [QUESTION] Getting configure options for a given QEMU executable? Aleksandar Markovic
2020-03-20 10:03 ` Daniel P. Berrangé [this message]
2020-03-20 10:44   ` Philippe Mathieu-Daudé

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=20200320100325.GB2608355@redhat.com \
    --to=berrange@redhat.com \
    --cc=aleksandar.qemu.devel@gmail.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).