From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhoS5-0002of-6Y for qemu-devel@nongnu.org; Wed, 07 Sep 2016 21:48:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhoS0-0001OM-SD for qemu-devel@nongnu.org; Wed, 07 Sep 2016 21:48:28 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhoS0-0001OA-N4 for qemu-devel@nongnu.org; Wed, 07 Sep 2016 21:48:24 -0400 Date: Thu, 8 Sep 2016 09:48:19 +0800 From: Fam Zheng Message-ID: <20160908014819.GA14528@lemon> References: <57D023C6.10000@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57D023C6.10000@huawei.com> Subject: Re: [Qemu-devel] add gcc compiler version to the browsable output in patchew? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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