clang build fails with `../grub-core/lib/gnulib/regex.h:682:20: error: variable length array used [-Werror,-Wvla]`

2022-03-25 Thread Paul Menzel
Dear GRUB folks, On Debian sid/unstable clang 13.0.1 fails to build GRUB due to a problem in Gnulib: ``` $ git log --oneline -1 --no-decorate 7c316e183 term/efi/console: Do not set cursor until the first text output $ ./configure --with-platform=coreboot CC=clang && make […] clang -DHAVE_CONF

Re: clang build fails with `../grub-core/lib/gnulib/regex.h:682:20: error: variable length array used [-Werror,-Wvla]`

2022-03-25 Thread Darren Kenny
Hi Paul, I'm seeing that same issue, and I sent an e-mail to the gnulib list about it yesterday. I've not gotten a response to it yet though - but it is on my radar to get fixed since it's also blocking some other work I'm doing. Thanks, Darren. On Friday, 2022-03-25 at 08:12:16 +01, Paul Menz

Re: [PATCH] gnulib: Handle aborts in gnulib more gracefully

2022-03-25 Thread Robbie Harwood
Glenn Washburn writes: > Gnulib does not define abort(), but expects it to be defined, usually by a > libc implementation. However, GRUB has no libc and does not have an abort() > function. Until recently GRUB had patched out abort() in gnulib, effectively > making it a noop. This changed with a

Re: [PATCH] configure: Fix default -O2 being added when CFLAGS not set

2022-03-25 Thread Robbie Harwood
Glenn Washburn writes: > Autoconf will set a default CFLAGS of "-g -O2" if CFLAGS is not set. CFLAGS > was defaulted to "" early in configure to prevent this. Apparently something > changed in autoconf and now AC_USE_SYSTEM_EXTENSIONS, which is before the > default setting of CFLAGS, will pull in

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Chris Murphy
For all practical purposes, this is functionally the end to dual boot in GRUB, if there is no work around, e.g. bootnext. Is that the direction GRUB maintainers want to go in? -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Vladimir 'phcoder' Serbinenko
On Fri, Mar 25, 2022 at 9:14 PM Chris Murphy wrote: > > For all practical purposes, this is functionally the end to dual boot > in GRUB, if there is no work around, e.g. bootnext. Is that the > direction GRUB maintainers want to go in? Why don't you just update TPM with new values? Then it will ge

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Chris Murphy
On Fri, Mar 25, 2022 at 2:32 PM Vladimir 'phcoder' Serbinenko wrote: > > On Fri, Mar 25, 2022 at 9:14 PM Chris Murphy wrote: > > > > For all practical purposes, this is functionally the end to dual boot > > in GRUB, if there is no work around, e.g. bootnext. Is that the > > direction GRUB maintai

Re: How to boot Windows when Bitlocker enabled with key sealed in TPM

2022-03-25 Thread Chris Murphy
On Fri, Mar 25, 2022 at 5:00 PM Chris Murphy wrote: > > On Fri, Mar 25, 2022 at 2:32 PM Vladimir 'phcoder' Serbinenko > wrote: > > > > On Fri, Mar 25, 2022 at 9:14 PM Chris Murphy > > wrote: > > > > > > For all practical purposes, this is functionally the end to dual boot > > > in GRUB, if ther