linuxppc / linuxppc/issues

grub-emu fails to build from source on 32-bit PowerPC due to PKS support

Open
#496 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
14
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Trying to build GRUB on 32-bit PowerPC fails when build with `--with-platform=emu` with:

```
/usr/bin/ld: appendedsig.module: in function `grub_mod_init':
/home/glaubitz/grub/grub-core/commands/appendedsig/appendedsig.c:1615:(.text+0x2ab4):
undefined reference to `grub_pks_get_keystore'
/usr/bin/ld: appendedsig.module: in function `create_dbs_from_pks':
/home/glaubitz/grub/grub-core/commands/appendedsig/appendedsig.c:1400:(.text+0x2c3c):
undefined reference to `grub_pks_free_data'
collect2: error: ld returned 1 exit status
```

See this upstream report here: https://lists.gnu.org/archive/html/grub-devel/2026-02/msg00077.html

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the upstream GRUB report linked in the issue and reproduce the `--with-platform=emu` build on 32-bit PowerPC. Trace the missing `grub_pks_get_keystore` and `grub_pks_free_data` references from `grub-core/commands/appendedsig/appendedsig.c`; done means the emu build links successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.