Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 build fails with QEMU segmentation fault during libc-bin configuration #405

Open
devin-ai-integration bot opened this issue Feb 22, 2025 · 0 comments

Comments

@devin-ai-integration
Copy link

Issue

When building the Docker image for ARM64 platform, QEMU emulation encounters a segmentation fault during libc-bin package configuration.

Error Details

Setting up libc-bin (2.35-0ubuntu3.8) ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Root Cause

The QEMU emulation layer is having issues with the libc-bin post-installation script, which is a known limitation when cross-compiling for ARM64 on x86_64 hosts.

Workaround Options

  1. Use native ARM64 builders instead of QEMU emulation
  2. Split the build into multiple stages to minimize QEMU usage
  3. Pre-install critical packages in the base image

Next Steps

  1. Investigate using GitHub Actions ARM64 runners for native builds
  2. Optimize Dockerfile to minimize package installation in emulated layers
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

No branches or pull requests

0 participants