From: Ian Campbell Subject: Re: xen-unstable stubdom build-failure when debug=n Date: Mon, 21 Jul 2014 17:27:28 +0100 Message-ID: <1405960048.13494.10.camel@kazak.uk.xensource.com> References: <223502494.20140717102731@eikelenboom.it> <1405606391.1977.6.camel@kazak.uk.xensource.com> <598019223.20140717162519@eikelenboom.it> <1405959204.13494.0.camel@kazak.uk.xensource.com> <20140721162118.GA20873@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X9GR2-0002fp-Bg for xen-devel@lists.xenproject.org; Mon, 21 Jul 2014 16:27:32 +0000 In-Reply-To: <20140721162118.GA20873@aepfle.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Olaf Hering Cc: Sander Eikelenboom , xen-devel@lists.xenproject.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-21 at 18:21 +0200, Olaf Hering wrote: > On Mon, Jul 21, Ian Campbell wrote: > > > If that were the case then I'd expect > > git clean -ffffdqx && ./configure && make debug=n ; make debug=n > > to work as well, which it doesn't seem to. > > > > My guest is that turning off debug increases the optimisation level > > which somehow makes gcc decide this code is now wrong. > > How does stubdom the build tests anyway? Pardon? Are you asking if osstest builds stubdoms? I think so and http://www.chiark.greenend.org.uk/~xensrcts/logs/29421/build-amd64/5.ts-xen-build.log seems to contain evidence of it happening. I think there is a certain amount of dependence on the gcc version in this stuff. osstest uses gcc 4.7.2 from Debian 7.0 (Wheezy, current stable) Ian. > I see "... -Wall -Werror -Wno-unused-paramters ... -Wextra ...", and > stubdom/tpm_emulator-x86_64/tpm/tpm_credentials.c:52 fails to compile. > > Olaf > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel