diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2018-03-21 19:42:24 +0100 |
---|---|---|
committer | Josh Bleecher Snyder <josharian@gmail.com> | 2018-03-24 04:47:27 +0000 |
commit | 786899a72afe02836c003c1414ca279090e7d637 (patch) | |
tree | 9f8a5dd29a992ec689696e4581e249a449a2e455 /src/runtime/os_linux_arm.go | |
parent | d54902ece907d55d937b7b2fa294e0cc22b57a32 (diff) | |
download | go-786899a72afe02836c003c1414ca279090e7d637.tar.gz go-786899a72afe02836c003c1414ca279090e7d637.zip |
runtime: adjust GOARM floating point compatibility error message
As pointed out by Josh Bleecher Snyder in CL 99780.
The check is for GOARM > 6, so suggest to recompile with either GOARM=5
or GOARM=6.
Change-Id: I6a97e87bdc17aa3932f5c8cb598bba85c3cf4be9
Reviewed-on: https://go-review.googlesource.com/101936
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
Diffstat (limited to 'src/runtime/os_linux_arm.go')
-rw-r--r-- | src/runtime/os_linux_arm.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/os_linux_arm.go b/src/runtime/os_linux_arm.go index a0e2c081b9..14f1cfeaef 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) } } |