From: Ian Campbell Subject: Re: xen-unstable stubdom build-failure when debug=n Date: Mon, 28 Jul 2014 10:51:25 +0100 Message-ID: <1406541085.24842.102.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> <1405959873.13494.8.camel@kazak.uk.xensource.com> <70705199.20140722091106@eikelenboom.it> <1918199122.20140726171441@eikelenboom.it> <1406538575.24842.76.camel@kazak.uk.xensource.com> <332553099.20140728114714@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XBhac-0008Cv-Te for xen-devel@lists.xenproject.org; Mon, 28 Jul 2014 09:51:31 +0000 In-Reply-To: <332553099.20140728114714@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: xen-devel@lists.xenproject.org, Daniel De Graaf , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Mon, 2014-07-28 at 11:47 +0200, Sander Eikelenboom wrote: > Monday, July 28, 2014, 11:09:35 AM, you wrote: > > > On Sat, 2014-07-26 at 17:14 +0200, Sander Eikelenboom wrote: > >> Just tested some more with a strange outcome: > >> > >> When doing: > >> ~# git checkout RELEASE-4.4.0 > >> ~# make mrproper && ./configure && make debug=n > >> > >> It also fails with the error in dhcp i mentioned before. > >> > >> However if i do: > >> ~# git checkout RELEASE-4.4.0 > >> ~# make mrproper && ./configure && make > >> > >> It builds fine .. (and release-4.4.0 should have the implicit debug=n) > >> So what is different when explicitly giving debug=n ? > > > The only thing I can thing of would be that specifying debug= on the > > make command line makes it enter the environment or MAKEFLAGS or > > something, whereas setting it in the Makefile or .config etc doesn't. > > (Perhaps e.g. "export debug" in Config.mk would make these two behave > > the same?) > > > Anyway, that having happened the debug could then filter down and get > > picked up by the configure or build system of some sub-component in a > > way we aren't expecting. > > > That's all 100% speculation though. > > Well just setting it only in the Config.mk works fine. > > Could be due to the mixing, i was used to not changing my Config.mk and just > specifying "make debug=(y|n)" on the commandline. > So Config.mk had debug=y, while the make had debug=n. > However some googling didn't show much if that was even ever supported, > although it used to work fine ;-) I must confess that I can never remember how make prioritises these things. > Should there just be a ./configure --debug=y ? I don't think so -- debug is supposed to affect the hypervisor too (mostly even, I think) and that should not require a configure. Ian.