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

Re: [PATCH v2] xen/Kconfig: livepatch-build-tools requires debug information



On Fri, Nov 08, 2024 at 11:24:12AM +0100, Jan Beulich wrote:
> On 08.11.2024 11:10, Roger Pau Monne wrote:
> > The tools infrastructure used to build livepatches for Xen
> > (livepatch-build-tools) consumes some DWARF debug information present in
> > xen-syms to generate a livepatch (see livepatch-build script usage of 
> > readelf
> > -wi).
> > 
> > The current Kconfig defaults however will enable LIVEPATCH without 
> > DEBUG_INFO
> > on release builds, thus providing a default Kconfig selection that's not
> > suitable for livepatch-build-tools even when LIVEPATCH support is enabled,
> > because it's missing the DWARF debug section.
> > 
> > Fix by selecting DEBUG_INFO by default if LIVEPATCH is enabled.
> > 
> > Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
> 
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> Yet I wonder whether this now faces Andrew's opposition.

You have both options now on the list.  I don't mind that much, just
want to get this sorted.  Either patch is better than the current
situation.

Thanks, Roger.



 


Rackspace

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