Skip to contentSkip to conversation

go-runtime: Disbale CGO for riscv64

PATCH Superseded Khem Raj 1 participant 1 message Jul 9, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 go-runtime: Disbale CGO for riscv64

cgo is still not available in go for riscv64, we will re-evaluate it once we upgrade to 1.15

Fixes
| /usr/src/debug/go-runtime/1.14.4-r0/go/src/runtime/cgo/gcc_util.c:23: undefined reference to `_cgo_sys_thread_start'

[YOCTO #13966]

---
 meta/recipes-devtools/go/go-runtime_1.14.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/go/go-runtime_1.14.bb +1 -0
index 43b68b4e46..4eeee65e0c 100644
@@ -1,2 +1,3 @@
+export CGO_ENABLED_riscv64 = ""
 require go-${PV}.inc
 require go-runtime.inc
Signature · 1 line
2.27.0