GRUB fails to build on 32-bit PowerPC with linker errors

John Paul Adrian Glaubitz <[email protected]> Sat, 07 Feb 2026 10:00:03 +0100
Newsgroups org.gnu.grub-devel
Message-ID <6c62a0d68bb1428a5aa27bdca762bf2b45c12aae.camel@physik.fu-berlin.de>
Hi,

this is probably a result of the changes with regards to crypto support on PowerPC [1]:

/usr/bin/powerpc-linux-gnu-ld.bfd: appendedsig.module: in function `grub_mod_init':
/build/reproducible-path/grub2-2.14/obj/grub-emu/grub-core/../../../grub-core/commands/appendedsig/appendedsig.c:1615:(.text+0x2adc): undefined reference to `grub_pks_get_keystore'
/usr/bin/powerpc-linux-gnu-ld.bfd: appendedsig.module: in function `create_dbs_from_pks':
/build/reproducible-path/grub2-2.14/obj/grub-emu/grub-core/../../../grub-core/commands/appendedsig/appendedsig.c:1400:(.text+0x2c64): undefined reference to `grub_pks_free_data'
collect2: error: ld returned 1 exit status

My guess is that there needs to be an additional guard for 32-bit targets on PowerPC.

I'll look into bisecting this.

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=grub2&arch=powerpc&ver=2.14-1&stamp=1770454521&raw=0

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel