cmd/compile: sigill in go_bootstrap on openbsd/arm64 #64261
Labels
arch-arm64
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-OpenBSD
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, both go1.21.4 and master (commit: aa9dd50)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I tried building go from source with the following setup:
OpenBSD -current (18-Nov-2023)
QEMU master (commit: 34a5cb6d)
MacOS 14.1.1 (23B2082)
Apple M3 Max
sudo qemu-system-aarch64 \
-machine virt \
-cpu host \
-accel hvf \
-smp 4 \
-m 4096 \
-drive file=$disk,if=virtio,index=0,media=disk,format=qcow2 \
-drive file=$image,if=virtio,index=1,media=cdrom \
-nographic \
-nic vmnet-shared,mac=$mac,model=virtio-net-pci \
-bios /usr/local/share/qemu/edk2-aarch64-code.fd \
-serial pty \
-monitor none
What did you expect to see?
I expected a successful build.
What did you see instead?
./all.bash
Building Go cmd/dist using /usr/local/go. (go1.21.3 openbsd/arm64)
Building Go toolchain1 using /usr/local/go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
go tool dist: FAILED: /home/r/src/go/pkg/tool/openbsd_arm64/go_bootstrap install -pgo=off cmd/asm cmd/cgo cmd/compile cmd/link: signal: illegal instruction (core dumped)
lldb go_bootstrap
The text was updated successfully, but these errors were encountered: