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.
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.