Hello,
Not sure if anyone has seen this, it seems everything build with go 1.17.1 crashes in docker desktop (4.0.1) on Apple M1 if it's cross launched. The error is
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
for example:
```
package main
import (
"fmt"
"os"
)
func main() {
fmt.Printf("Hello World\n")
os.Exit(0)
}
```
container running native:
root@c3d42421a803:/go/src/t# ./main
Hello World
root@c3d42421a803:/go/src/t# arch
aarch64
root@c3d42421a803:/go/src/t# ps afx
PID TTY STAT TIME COMMAND
8 pts/1 Ss 0:00 /bin/bash
21 pts/1 R+ 0:00 \_ ps afx
1 pts/0 Ss+ 0:00 /bin/bash
container running as amd64 (docker --platform linux/amd64)
root@201bdbdb4d64:/go/src/t# go build main.go
qemu: uncaught target signal 11 (Segmentation fault) - core dumped Segmentation fault
root@201bdbdb4d64:/go/src/t# arch
x86_64
root@201bdbdb4d64:/go/src/t# ps afx
PID TTY STAT TIME COMMAND
1 pts/0 Ssl 0:00 /usr/bin/qemu-x86_64 /bin/bash
1108 ? Rl+ 0:00 /bin/ps afx
root@201bdbdb4d64:/go/src/t#
No problems with 1.16.8. Core dumps don't give anything really useful.
Thanks,
Remi