diff --git a/src/runtime/os_freebsd_arm.go b/src/runtime/os_freebsd_arm.go index f0d04244f37..d2dc26f0c4f 100644 --- a/src/runtime/os_freebsd_arm.go +++ b/src/runtime/os_freebsd_arm.go @@ -21,7 +21,7 @@ func checkgoarm() { } if goarm > 6 && hwcap&_HWCAP_VFPv3 == 0 { print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n") - print("this GOARM=", goarm, " binary. Recompile using GOARM=5.\n") + print("this GOARM=", goarm, " binary. Recompile using GOARM=5 or GOARM=6.\n") exit(1) } diff --git a/src/runtime/os_linux_arm.go b/src/runtime/os_linux_arm.go index a0e2c081b90..14f1cfeaefb 100644 --- a/src/runtime/os_linux_arm.go +++ b/src/runtime/os_linux_arm.go @@ -33,7 +33,7 @@ func checkgoarm() { } if goarm > 6 && hwcap&_HWCAP_VFPv3 == 0 { print("runtime: this CPU has no VFPv3 floating point hardware, so it cannot run\n") - print("this GOARM=", goarm, " binary. Recompile using GOARM=5.\n") + print("this GOARM=", goarm, " binary. Recompile using GOARM=5 or GOARM=6.\n") exit(1) } }