From: Fam Zheng <famz@redhat.com>
To: Claudio Fontana <claudio.fontana@huawei.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] add gcc compiler version to the browsable output in patchew?
Date: Thu, 8 Sep 2016 09:48:19 +0800 [thread overview]
Message-ID: <20160908014819.GA14528@lemon> (raw)
In-Reply-To: <57D023C6.10000@huawei.com>
On Wed, 09/07 16:27, Claudio Fontana wrote:
>
> Hi,
>
> it would be useful I think to know exactly which gcc version is running in patchew,
> it can help when trying to reproduce a problem which does not seem to trigger locally.
Hi,
I have a work in progress series for QEMU to include the gcc version and other
env info in the patchew report. It is at QEMU side because the actual build
tests that patchew runs are actually QEMU "docker tests":
http://wiki.qemu.org/DockerBuild
The commands are also described in the patchew email too.
So even before we have the env info patch, you can already figure out all the
information and even reproduce it on a host that has Docker, with a little bit
of effort. (The intention of having docker tests in QEMU tree is to make
patchew failures reproducible to every contributor.)
The reproducer would be as simple as
make -C $MY_QEMU_DEV_REPO V=1 \
docker-test-quick@fedore docker-test-mingw@fedora
which covers the current two docker build targets we do on patchew.
Back to your question, the gcc versions of the involved docker builds are:
fam@lemon:~$ sudo docker run -ti --rm qemu:centos6 gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
fam@lemon:~$ sudo docker run -ti --rm qemu:fedora gcc --version
gcc (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Fam
prev parent reply other threads:[~2016-09-08 1:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-07 14:27 [Qemu-devel] add gcc compiler version to the browsable output in patchew? Claudio Fontana
2016-09-08 1:48 ` Fam Zheng [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=20160908014819.GA14528@lemon \
--to=famz@redhat.com \
--cc=claudio.fontana@huawei.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 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.