commit | fb44f62e7c01ebc987dad78875f593da18100007 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Sat Jan 19 22:40:27 2019 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Jan 22 00:05:50 2019 +0000 |
tree | f7a28125eda5e24e6ac79f52b867d826cc91e261 | |
parent | 0c870ba6b3b43e0e56231f40c56b58dad0e36d9e [diff] |
runtime, internal/cpu: fix build for ARM GNU/Linux Was failing with ../../../libgo/go/internal/cpu/cpu.go:138:2: error: reference to undefined name 'doinit' 138 | doinit() | ^ Fix it by adding in Go 1.12 internal/cpu/cpu_arm.go, and the code in runtime that initializes the values. Fixes https://gcc.gnu.org/PR88927. Change-Id: Ib376fcbd443acf428fa93d4aa77ec74edbaa71ee Reviewed-on: https://go-review.googlesource.com/c/158717 Reviewed-by: Cherry Zhang <cherryyz@google.com>