Skip to content

Drop broken 32-bit ltrace fallback for mips64#9

Merged
lacraig2 merged 1 commit into
mainfrom
fix/ltrace-mips64-no-fallback
Jun 9, 2026
Merged

Drop broken 32-bit ltrace fallback for mips64#9
lacraig2 merged 1 commit into
mainfrom
fix/ltrace-mips64-no-fallback

Conversation

@lacraig2

@lacraig2 lacraig2 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

mips64eb/mips64el have no native ltrace build (already in iglooExcludedArchs), and iglooFallbackArchs symlinked them to the 32-bit mipsel/mipseb ltrace.

That fallback can't work on a mips64 guest: the 32-bit ltrace needs the 32-bit musl loader + libc, but penguin only mounts the arch's own (64-bit) /igloo/dylibs, so running it gives an ELF/ABI mismatch (Invalid ELF image for this architecture). ltrace -V then fails and breaks penguin's penguin-tools actuation test on mips64.

Drop the fallback so mips64 simply ships no ltrace, consistent with riscv64/loongarch. Verified via core/qemu that the symlinked 32-bit binary is the failure source on mips64el/eb.

mips64eb/mips64el are in iglooExcludedArchs (no 64-bit MIPS ltrace build),
and iglooFallbackArchs symlinked them to the 32-bit mipsel/mipseb ltrace.
That symlink can't run on a mips64 guest: the 32-bit binary needs the
32-bit musl loader + libc, but penguin only mounts the arch's own 64-bit
/igloo/dylibs, so 'ltrace -V' fails with an ELF/ABI mismatch and breaks the
penguin-tools actuation test. Drop the fallback so mips64 ships no ltrace,
matching riscv64/loongarch.
@lacraig2 lacraig2 merged commit b07e932 into main Jun 9, 2026
1 check passed
@lacraig2 lacraig2 deleted the fix/ltrace-mips64-no-fallback branch June 9, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant