Skip to content

Work around QEMU segfault - #40

Open
jonathan-r-thorpe wants to merge 1 commit into
rhastie:masterfrom
jonathan-r-thorpe:fix-docker-buildx
Open

Work around QEMU segfault#40
jonathan-r-thorpe wants to merge 1 commit into
rhastie:masterfrom
jonathan-r-thorpe:fix-docker-buildx

Conversation

@jonathan-r-thorpe

Copy link
Copy Markdown
Collaborator

Certain QEMU versions incorrectly handle some ARM64 memory mappings generated under ASLR. This can crash the emulated collect2 linker even though the compiled code is valid.

By setting kernel.randomize_va_space=0 this makes mappings predictable and avoids that QEMU bug. It is a workaround, not a GCC or mDNSResponder fix, and affects the GitHub runner only for the remainder of that job.

…enerated under ASLR. This can crash the emulated collect2 linker even though the compiled code is valid.

Signed-off-by: Jonathan Thorpe <jthorpe@nvidia.com>
@garethsb

Copy link
Copy Markdown
Collaborator

The code comment references tonistiigi/binfmt#215.
I also found docker/buildx#3170 and docker/build-push-action#1309.
Still not sure if there's an approved/published fix rather than a workaround?

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.

2 participants