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

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

On Sat, 2026-02-07 at 10:00 +0100, John Paul Adrian Glaubitz wrote:
> 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.

OK, this seems to be a problem specific to the Debian package. Building GRUB from git
works fine.

Adrian

-- 
 .''`.  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