mirror of
https://github.com/golang/go
synced 2024-11-23 07:10:05 -07:00
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>
This commit is contained in:
parent
d54902ece9
commit
786899a72a
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user