[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH for 4.6] tools: Honor Config.mk debug value, rather than setting our own



On Wed, 2015-09-02 at 12:25 +0100, Wei Liu wrote:
> On Wed, Sep 02, 2015 at 12:24:31PM +0100, Ian Campbell wrote:
> > On Wed, 2015-09-02 at 12:08 +0100, Wei Liu wrote:
> > > On Wed, Sep 02, 2015 at 10:34:55AM +0100, George Dunlap wrote:
> > > > Changeset 1166ecf ('tools/Rules.mk: Don't optimize debug builds; 
> > > > add
> > > > macro debugging information') exposed a bug whereby the autoconf 
> > > > stuff
> > > > in tools was setting its own debug value (defaulting to ENABLED, 
> > > > even
> > > > for releases) instead of honoring the value set in Config.mk.
> > > > 
> > > > After that changeset, if the global build has -D_FORTIFY_SOURCE
> > > > enabled (as is the default in CentOS 7 rpmbuild), then the tools 
> > > > build
> > > > will fail (because debug builds default to on).
> > > > 
> > > > There should be only one place to specify whether to build debug or
> > > > not, and Config.mk is already included by the relevant makefiles. 
> > > >  So
> > > > simply remove the tools/configure debug option and everything falls
> > > > into place naturally.
> > > > 
> > > > Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
> > > 
> > > Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
> > 
> > Release-ack too?
> 
> Release-acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Thx, applied.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.