On 09/02/2015 10:34 AM, 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.dun...@eu.citrix.com>
Having debug enabled for tools by default for releases is arguably a bug for previous releases as well, so I think this should be considered for backport if this solution is acceptable. -George _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel