Skip to content
Snippets Groups Projects

build: fix cross-compile without CPU emulation

Merged Oliver Smith requested to merge ollieparanoid/pmbootstrap:fix-x86-on-x86_64-bug into master
All threads resolved!

Fix cross compiling where CPU emulation is not needed, for example building x86 packages on x86_64 machines.

This is the case with both:

  • CrossCompile.UNNECESSARY
  • arch != Arch.native()

Fix the logic in CrossCompile().build_chroot that returned the native chroot in that case instead of Chroot.buildroot(arch).

Fix error:

/usr/bin/abuild: line 2692: x86_64-alpine-linux-musl-strip: not found

Fix build.postmarketos.org#155 (closed)

Edited by Oliver Smith

Merge request reports

Merge request pipeline #217560 canceled

Merge request pipeline canceled for 3dd7b5e1

Approved by
Test summary results are being parsed

Merged by Oliver SmithOliver Smith 1 month ago (Mar 20, 2025 9:36pm UTC)

Merge details

Pipeline #217561 passed

Pipeline passed for 3dd7b5e1 on master

Deployed to dep‎loy‎ 1 month ago

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading