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

Re: [Xen-devel] [PATCH 28/28] Separate runtime debug output from debug symbols



On Fri, Sep 26, Jan Beulich wrote:

> >>> On 26.09.14 at 10:54, <olaf@xxxxxxxxx> wrote:
> > But I wonder how all that is supposed to work anyway for tools and xen?
> > If I do "configure --disable-debug --disable-debug-info && make rpmball"
> > xen still is built with debug=y. And to change that I have to use 'make
> > rpmball debug=n' which affects also tools build.
> With the hypervisor part of the build intentionally not being
> controlled by the configure mechanism, I don't see how this can
> be properly separated using the same command line override
> mechanism to control both kinds of build sub-components.

I think the bug is that everything uses debug=N.
Perhaps that variable should be controlled by the subsystems?
Like 'make debug_$subsys=N rpmbuild' which sets debug=N before the
'include $(XEN_ROOT)/Config.mk'.  Then configure --enable-debug will set
debug_$subsys in config/$subsys.mk which in turn sets debug=.

Olaf

_______________________________________________
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®.