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

Enable RV32 build of Linux/musl toolchain #1571

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

TommyMurphyTM1234
Copy link
Collaborator

@TommyMurphyTM1234 TommyMurphyTM1234 commented Oct 9, 2024

With musl having been bumped to v1.2.5 recently:

it is now possible to enable the RV32 build of the Linux/musl toolchain.

This PR effectively removes the restrictions imposed by this commit:

I have checked that the "normal" (rv64gc/lp64d) and RV32 (rv32gc/ilp32d) configuration/builds of the Linux/musl toolchain complete successfully. At the moment there is no support for running the GCC test suite against the resulting toolchains so no further testing has been done.

Notes:

  1. I'm not sure what was the rationale for/purpose of this PR a long time (6 years!) ago given that, at the time, musl did not have RV32 support.
  1. Even before this current PR --enable-multilib was being ignored due to this part of Makefile.in and this PR does not change this behaviour. Another PR can be done to deal with this if necessary.

@cmuellner cmuellner merged commit 902bd3a into riscv-collab:master Oct 10, 2024
22 checks passed
@cmuellner
Copy link
Collaborator

Thanks!

@TommyMurphyTM1234
Copy link
Collaborator Author

TommyMurphyTM1234 commented Oct 25, 2024

The change to this line in this PR seems to have got lost in the current master branch... :-(

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