This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r268131 - in /trunk: gcc/go/gofrontend/MERGE li...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 22 Jan 2019 00:06:44 -0000
- Subject: r268131 - in /trunk: gcc/go/gofrontend/MERGE li...
Author: ian
Date: Tue Jan 22 00:06:44 2019
New Revision: 268131
URL: https://gcc.gnu.org/viewcvs?rev=268131&root=gcc&view=rev
Log:
PR go/88927
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.
Reviewed-on: https://go-review.googlesource.com/c/158717
Added:
trunk/libgo/go/internal/cpu/cpu_arm.go
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/libgo/go/runtime/os_linux_arm.go