[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/2] tools: detect appropriate debug optimization level
George Dunlap writes ("Re: [Xen-devel] [PATCH 2/2] tools: detect appropriate debug optimization level"): > On Wed, Apr 6, 2016 at 3:07 PM, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> wrote: > > Doug, would you like to, for now, propose a patch that uses -Og if it > > is available, but otherwise falls back to -O0 ? NB that if > > convenient, this can be done simply by always specifying -O0 and > > putting -Og after it if it is supported. > > I agree that it would be good to include specific bugs that this > fixes. Presuming that they are as described (compilation errors for > reasonable setups), I continue to think that making things compile for > everyone is more important than making them debuggable via gdb for > people running compilers that don't support -Og. I think making debug builds debuggable for people with non-broken compilers is more important than making debug builds build for people with broken compilers. (Under some unstated but I think reasonable, and rebuttable, assumptions about the sizes of the two sets of people.) Non-debug builds are, after all, not affected by any of this. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |