Re: GRUB couldn't load sha512 hash after reencrypt from whirlpool
Reply #7 –
Hey, I'm in similar situation. I'm trying to build grub from link you posted earlier logged from liveusb on my encrypted drive.
Make failes out of the sudden:
cc1: all warnings being treated as errors
make[2]: *** [Makefile:9439: util/grub_mkimage-mkimage.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f util/.deps-util/grub_mkimage-resolve.Tpo util/.deps-util/grub_mkimage-resolve.Po
mv -f util/.deps-util/grub_mkimage-grub-mkimage32.Tpo util/.deps-util/grub_mkimage-grub-mkimage32.Po
mv -f util/.deps-util/grub_mkimage-grub-mkimage64.Tpo util/.deps-util/grub_mkimage-grub-mkimage64.Po
make[2]: Leaving directory '/home/u/tmp/grub-2.06'
make[1]: *** [Makefile:11514: all-recursive] Error 1
make[1]: Leaving directory '/home/u/tmp/grub-2.06'
make: *** [Makefile:3372: all] Error 2
-sh-5.1# BUILD_CC=gcc-11 make -j`nproc`^C
-sh-5.1# gcc-11 --version
gcc-11 (GCC) 11.3.0
Okay, I just realized I did this on kernel 5.18.