From: Sander Eikelenboom Subject: Re: xen-unstable stubdom build-failure when debug=n Date: Mon, 28 Jul 2014 11:47:14 +0200 Message-ID: <332553099.20140728114714@eikelenboom.it> 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> 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 1XBhWY-0007r9-3t for xen-devel@lists.xenproject.org; Mon, 28 Jul 2014 09:47:18 +0000 In-Reply-To: <1406538575.24842.76.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: xen-devel@lists.xenproject.org, Daniel De Graaf , stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org 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 ;-) Should there just be a ./configure --debug=y ? > Ian.