All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] add gcc compiler version to the browsable output in patchew?
@ 2016-09-07 14:27 Claudio Fontana
  2016-09-08  1:48 ` Fam Zheng
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Fontana @ 2016-09-07 14:27 UTC (permalink / raw)
  To: famz; +Cc: qemu-devel@nongnu.org


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.

Ciao,

Claudio

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] add gcc compiler version to the browsable output in patchew?
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Fam Zheng @ 2016-09-08  1:48 UTC (permalink / raw)
  To: Claudio Fontana; +Cc: qemu-devel@nongnu.org

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-08  1:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.