Re: #yocto #yocto


sateesh m
 

Thanks, I'll check them out. 


On Tue, 27 Jul 2021, 18:17 Nicolas Jeker, <n.jeker@...> wrote:
On Thu, 2021-07-22 at 23:26 -0700, sateesh m wrote:
> Hi Guys,
>
>               I am facing below error while compiling consul package.
> can anybody know this issue please suggest me. 
> ERROR: consul-git-r0 do_compile: Execution of '/home/sources/fu540-
> build/tmp-glibc/work/riscv64-oe-linux/consul/git-
> r0/temp/run.do_compile.26832' failed with exit code 2:
> internal/unsafeheader
> unicode/utf16
> container/list
> internal/cpu
>
<snip>
> # github.com/hashicorp/consul/vendor/golang.org/x/sys/unix
> src/github.com/hashicorp/consul/vendor/golang.org/x/sys/unix/syscall_
> linux_gc.go:10:6: missing function body
> src/github.com/hashicorp/consul/vendor/golang.org/x/sys/unix/syscall_
> linux_gc.go:14:6: missing function body
> src/github.com/hashicorp/consul/vendor/golang.org/x/sys/unix/syscall_
> unix_gc.go:12:6: missing function body
> src/github.com/hashicorp/consul/vendor/golang.org/x/sys/unix/syscall_
> unix_gc.go:13:6: missing function body
> src/github.com/hashicorp/consul/vendor/golang.org/x/sys/unix/syscall_
> unix_gc.go:14:6: missing function body
> src/github.com/hashicorp/consul/vendor/golang.org/x/sys/unix/syscall_
> unix_gc.go:15:6: missing function body

Searching for these error messages I found a comment on GitHub [1]
which states that this is caused by missing assembly syscall wrappers.

Experimental support for RISC-V was added in Go 1.14 [2] and improved
in the next two versions, so make sure you use at least 1.14.

If the problem persists, I suggest to ask in a dedicated RISC-V or Go
forum/mailing list/chat.

I don't have any experience with Go or RISC-V, so take this information
with a grain of salt.

[1]: https://github.com/golang/go/issues/27532#issuecomment-493384077
[2]: https://golang.org/doc/go1.14#riscv

> net/http/pprof
> WARNING: exit code 2 from a shell command.
>  
> ERROR: Logfile of failure stored in: /home/sources/fu540-build/tmp-
> glibc/work/riscv64-oe-linux/consul/git-r0/temp/log.do_compile.26832
>  
> --
> Regards,
> Sateesh



--
Regards,
Sateesh

Join yocto@lists.yoctoproject.org to automatically receive all group messages.