From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: xen-unstable stubdom build-failure when debug=n Date: Mon, 21 Jul 2014 18:21:19 +0200 Message-ID: <20140721162118.GA20873@aepfle.de> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X9GL7-0002PR-7f for xen-devel@lists.xenproject.org; Mon, 21 Jul 2014 16:21:25 +0000 Content-Disposition: inline In-Reply-To: <1405959204.13494.0.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Sander Eikelenboom , stefano.stabellini@eu.citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org 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? I see "... -Wall -Werror -Wno-unused-paramters ... -Wextra ...", and stubdom/tpm_emulator-x86_64/tpm/tpm_credentials.c:52 fails to compile. Olaf