diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-07-09 12:57:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-12 12:21:48 +0100 |
commit | 192d6e9b4739bb53e513e78da5d552a3f1d931d3 (patch) | |
tree | 380b43f9bfb092aca0a64e8e569fdf3f7d38c951 /meta/recipes-devtools/go | |
parent | b9513b838698d212c9a3034778f3377e8f38de38 (diff) | |
download | poky-192d6e9b4739bb53e513e78da5d552a3f1d931d3.tar.gz |
go: 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]
(From OE-Core rev: f512b3308ed6ee878c77f72b9235ada83d107dba)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/go')
-rw-r--r-- | meta/recipes-devtools/go/go-runtime_1.14.bb | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/go/go_1.14.bb | 2 |
2 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | export CGO_ENABLED_riscv64 = "" | ||
1 | require go-${PV}.inc | 2 | require go-${PV}.inc |
2 | require go-runtime.inc | 3 | require go-runtime.inc |
diff --git a/meta/recipes-devtools/go/go_1.14.bb b/meta/recipes-devtools/go/go_1.14.bb index 5d40cf9d04..bc90a1329e 100644 --- a/meta/recipes-devtools/go/go_1.14.bb +++ b/meta/recipes-devtools/go/go_1.14.bb | |||
@@ -2,7 +2,7 @@ require go-${PV}.inc | |||
2 | require go-target.inc | 2 | require go-target.inc |
3 | 3 | ||
4 | export GOBUILDMODE="" | 4 | export GOBUILDMODE="" |
5 | 5 | export CGO_ENABLED_riscv64 = "" | |
6 | # Add pie to GOBUILDMODE to satisfy "textrel" QA checking, but mips/riscv | 6 | # Add pie to GOBUILDMODE to satisfy "textrel" QA checking, but mips/riscv |
7 | # doesn't support -buildmode=pie, so skip the QA checking for mips/riscv and its | 7 | # doesn't support -buildmode=pie, so skip the QA checking for mips/riscv and its |
8 | # variants. | 8 | # variants. |