This message was deleted.
# rancher-desktop
a
This message was deleted.
p
If you want a amd64 environment, try using
docker build --platform=linux/amd64
to ensure you're getting that instead of (the default) arm64.
f
well, that got me further along but it still borked out. => => # runtime/cgo: /usr/local/go/pkg/tool/linux_amd64/asm: signal: segmentation fault (core dumped) => => # crypto/sha512: /usr/local/go/pkg/tool/linux_amd64/compile: signal: segmentation fault (core dumped)
w
are you using qemu or vx for the VM? did you try the other?
f
I'm using QEMU
I can try VZ though I think it's experimental
w
yeah just trying to think of options that might mask some of the arm->x86 issues
f
I'm not blocked on this just would be nice to not need to ssh to a linux server to get this to build
w
and golang team seems to not be testing this scenario either https://github.com/golang/go/issues/48439
f
1.21.4 latest version I think
w
yeah meant more the response that a virtual target is not on their radar. another user noted that they saw similar issues with alpine specifically so is there an option to switch out your base image if you are using alpine? maybe a musl vs glibc thing?
f
yeah, thanks for the assist.