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

build: Make it build on riscv64 #1316

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

debarshiray
Copy link
Member

Go 1.14 added experimental support for 64-bit RISC-V on Linux (GOOS=linux, GOARCH=riscv64) [1], and the path of the dynamic linker (ie., PT_INTERP) was taken from the ABI specification [2].

Tested in Arch Linux rv64gc qemu user image.

[1] https://tip.golang.org/doc/go1.14#riscv

[2] https://sourceware.org/glibc/wiki/ABIList

#1159

@debarshiray debarshiray requested a review from HarryMichal as a code owner June 13, 2023 14:03
debarshiray pushed a commit to debarshiray/toolbox that referenced this pull request Jun 13, 2023
Go 1.14 added experimental support for 64-bit RISC-V on Linux
(GOOS=linux, GOARCH=riscv64) [1], and the path of the dynamic linker
(ie., PT_INTERP) was taken from the ABI specification [2].

Tested in Arch Linux rv64gc qemu user image.

[1] https://tip.golang.org/doc/go1.14#riscv

[2] https://sourceware.org/glibc/wiki/ABIList

containers#1159
containers#1316

Signed-off-by: Avimitin <[email protected]>
@debarshiray debarshiray force-pushed the wip/rishi/support-riscv64 branch from 0222b93 to e238c49 Compare June 13, 2023 14:04
Go 1.14 added experimental support for 64-bit RISC-V on Linux
(GOOS=linux, GOARCH=riscv64) [1], and the path of the dynamic linker
(ie., PT_INTERP) was taken from the ABI specification [2].

Tested in Arch Linux rv64gc qemu user image.

[1] https://tip.golang.org/doc/go1.14#riscv

[2] https://sourceware.org/glibc/wiki/ABIList

containers#1159
containers#1316

Signed-off-by: Avimitin Lu <[email protected]>
@softwarefactory-project-zuul
Copy link

Build succeeded.
https://softwarefactory-project.io/zuul/t/local/buildset/8cdd4a7865324ea6b69d7ce81521e9c8

✔️ unit-test SUCCESS in 9m 39s
✔️ unit-test-migration-path-for-coreos-toolbox SUCCESS in 3m 37s
✔️ unit-test-restricted SUCCESS in 8m 45s
✔️ system-test-fedora-rawhide SUCCESS in 22m 16s
✔️ system-test-fedora-38 SUCCESS in 21m 20s
✔️ system-test-fedora-37 SUCCESS in 21m 05s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants