[PATCH 2/2] gnulib: Fix build of base64 when compiling with memory debugging

2020-03-07 Thread Patrick Steinhardt
When building GRUB with memory management debugging enabled, then the build fails because of `grub_debug_malloc()` and `grub_debug_free()` being undefined in the luks2 module. The cause is that we patch "base64.h" to unconditionaly include "config-util.h", which shouldn't be included for modules at

[PATCH 0/2] build: Fixes for memory-debugging builds

2020-03-07 Thread Patrick Steinhardt
Hi, this series fixes two issues I've found after investigating the build failures for LUKS2: - Including in base64.h is the wrong thing to do as it's also used in the luks2 module, which shouldn't include the util header at all. - Ironically, explicitly disabling memory deb

Re: GRUB 2.06 release

2020-03-07 Thread Patrick Steinhardt
On Thu, Mar 05, 2020 at 02:50:39PM +0100, Daniel Kiper wrote: > On Wed, Mar 04, 2020 at 05:39:10AM +0100, Patrick Steinhardt wrote: > > Any chance to get the Arogn2 changes in? As far as I remember we were > > Let's try... We will see how it goes. If you run over the freeze date > then I can give

[PATCH 1/2] build: Fix option to explicitly disable memory debugging

2020-03-07 Thread Patrick Steinhardt
The memory management system supports a debug mode that can be enabled at build time by passing "--enable-mm-debug" to the configure script. Passing the option will cause us define MM_DEBUG as expected, but in fact the reverse option "--disable-mm-deubg" will do the exact same thing and also set up