From: Ian Jackson Subject: Re: [xen-unstable test] 12988: regressions - FAIL Date: Fri, 1 Jun 2012 18:02:26 +0100 Message-ID: <20424.62882.719478.562210@mariner.uk.xensource.com> References: <1338371077.31698.29.camel@zakaz.uk.xensource.com> <1338371198.31698.30.camel@zakaz.uk.xensource.com> <20421.61199.525262.572856@mariner.uk.xensource.com> <20423.35295.846826.21182@mariner.uk.xensource.com> <1338569283.1077.37.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1338569283.1077.37.camel@zakaz.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.xensource.com" , Ben Guthro List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [xen-unstable test] 12988: regressions - FAIL"): > On Thu, 2012-05-31 at 16:10 +0100, Ian Jackson wrote: > > I think in fact the right fix is probably more like this. What do you > > think ? > > Acked-by: Ian Campbell > > Subject to a suitable commit message being inserted.. Thanks. Ian. # HG changeset patch # User Ian Jackson # Date 1338570123 -3600 # Node ID 1e2ce970f0f29af4184d975c4f161f11938070cf # Parent 3b4346d6002e9ffcd4a9f50b031bd2a77b16b1dd libxl: fix Makefile race bug relating to _paths.h _paths.h needs to be in AUTOINCS. That arranges for it to be an explicit dependency of all object files. This is necessary so that it is made before any compilation is attempted. Making it a dependency of xl.h (as in 25426:e53a1d3c212c) is harmless, but not sufficient because that only takes effect if there is already an autogenerated .d file naming xl.h as a dependency of relevant object files. Signed-off-by: Ian Jackson Acked-by: Ian Campbell Committed-by: Ian Jackson diff -r 3b4346d6002e -r 1e2ce970f0f2 tools/libxl/Makefile --- a/tools/libxl/Makefile Fri Jun 01 12:06:22 2012 +0100 +++ b/tools/libxl/Makefile Fri Jun 01 18:02:03 2012 +0100 @@ -72,7 +72,7 @@ LIBXL_OBJS += _libxl_types.o libxl_flask $(LIBXL_OBJS): CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore) $(CFLAGS_libblktapctl) -include $(XEN_ROOT)/tools/config.h -AUTOINCS= libxlu_cfg_y.h libxlu_cfg_l.h _libxl_list.h +AUTOINCS= libxlu_cfg_y.h libxlu_cfg_l.h _libxl_list.h _paths.h AUTOSRCS= libxlu_cfg_y.c libxlu_cfg_l.c LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_l.o libxlu_cfg.o \ libxlu_disk_l.o libxlu_disk.o libxlu_vif.o libxlu_pci.o