go-runtime: Disbale CGO for riscv64

Submitted by Khem Raj on July 9, 2020, 7:49 p.m. | Patch ID: 174358

Details

Message ID 20200709194934.2179514-1-raj.khem@gmail.com
State New
Headers show

Commit Message

Khem Raj July 9, 2020, 7:49 p.m.
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]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-devtools/go/go-runtime_1.14.bb | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-devtools/go/go-runtime_1.14.bb b/meta/recipes-devtools/go/go-runtime_1.14.bb
index 43b68b4e46..4eeee65e0c 100644
--- a/meta/recipes-devtools/go/go-runtime_1.14.bb
+++ b/meta/recipes-devtools/go/go-runtime_1.14.bb
@@ -1,2 +1,3 @@ 
+export CGO_ENABLED_riscv64 = ""
 require go-${PV}.inc
 require go-runtime.inc