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

Toolchain: Add (basic) support for riscv64 #20475

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

spholz
Copy link
Member

@spholz spholz commented Aug 10, 2023

This makes ARCH=riscv64 Toolchain/BuildGNU.sh work, but the patches might not be completely correct.

@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Aug 10, 2023
Copy link
Collaborator

@kleinesfilmroellchen kleinesfilmroellchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am very hyped! Just a minor thing; the toolchain builds fine for me.

Kernel/Arch/mcontext.h Show resolved Hide resolved
Kernel/Arch/riscv64/mcontext.h Outdated Show resolved Hide resolved
This makes `ARCH=riscv64 Toolchain/BuildGNU.sh` work, but the patches
might not be completely correct.
@spholz
Copy link
Member Author

spholz commented Aug 10, 2023

I also added some files to tmake_file in the libgcc/config.host patch to make libgcc_s compile

Copy link
Member

@BertalanD BertalanD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Thanks a lot for doing this, I'm very excited about where this is headed!

@BertalanD BertalanD merged commit 9522794 into SerenityOS:master Aug 11, 2023
13 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Aug 11, 2023
@spholz spholz deleted the riscv-toolchain branch August 13, 2023 15:27
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.

3 participants