What is Nostr?
Clayton /
npub19vk…gzyt
2024-09-04 18:58:05

Clayton on Nostr: I found a weird crash that seems to involve running #golang apps compiled for amd64 ...

I found a weird crash that seems to involve running #golang apps compiled for amd64 on an aarch64 system using #qemu.

It seems to be related to the Go GC, GOGC=off works. Go 1.20 also works.

The crash output from Go runtime is in this issue, but I've been able to reproduce this when building a very simple hello world app for amd64:

https://gitlab.com/postmarketOS/pmbootstrap/-/issues/2382

Both Go's runtime/GC and qemu are complicated things I suck at debugging 😞

Help me fediverse, you're my only hope.
Author Public Key
npub19vkst4nflytv2ydnnrqzyezvgsty08jtgecn2r7g5xvdcvp6088s2ygzyt