Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] riscv64 yocto golang build issue #30697

Closed
pino-kim opened this issue Mar 9, 2019 · 1 comment
Closed

[Question] riscv64 yocto golang build issue #30697

pino-kim opened this issue Mar 9, 2019 · 1 comment

Comments

@pino-kim
Copy link

pino-kim commented Mar 9, 2019

What version of Go are you using (go version)?

golang 1.11.4

I'm stuck build go at yocto on riscv64.
below is my error log.

DEBUG: Executing shell function do_compile
Building Go cmd/dist using /home/pino/workspace/Opensource/RISCV/riscv-yocto-64/build/tmp-glibc/work/riscv64-oe-linux/go/1.11.4-r0/recipe-sysroot-native/usr/lib/go.
Building Go toolchain1 using /home/pino/workspace/Opensource/RISCV/riscv-yocto-64/build/tmp-glibc/work/riscv64-oe-linux/go/1.11.4-r0/recipe-sysroot-native/usr/lib/go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building std,cmd for target, linux/riscv64.
-buildmode=pie not supported on linux/riscv64
go tool dist: FAILED: /home/pino/workspace/Opensource/RISCV/riscv-yocto-64/build/tmp-glibc/work/riscv64-oe-linux/go/1.11.4-r0/go/pkg/tool/native_native/go_bootstrap install -gcflags=all= -ldflags=all= std cmd: exit status 1
WARNING: /home/pino/workspace/Opensource/RISCV/riscv-yocto-64/build/tmp-glibc/work/riscv64-oe-linux/go/1.11.4-r0/temp/run.do_compile.32308:1 exit 2 from './make.bash --target-only --no-banner'
ERROR: Function failed: do_compile (log file is located at /home/pino/workspace/Opensource/RISCV/riscv-yocto-64/build/tmp-glibc/work/riscv64-oe-linux/go/1.11.4-r0/temp/log.do_compile.32308)

So I list some question

  1. Golang version 1.11.4 fully support riscv architecture in current upstreaming?

  2. If not there is the working group for golaong work on riscv architecture?

@pino-kim pino-kim changed the title [Question] riscv64 yocto build issue [Question] riscv64 yocto golang build issue Mar 9, 2019
@ianlancetaylor
Copy link
Member

Golang version 1.11.4 fully support riscv architecture in current upstreaming?

No.

If not there is the working group for golaong work on riscv architecture?

See #27532.

@golang golang locked and limited conversation to collaborators Mar 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants