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

Add RISC-V 64 Support #31

Open
wants to merge 3 commits into
base: ros2
Choose a base branch
from
Open

Add RISC-V 64 Support #31

wants to merge 3 commits into from

Conversation

ziyao233
Copy link

@ziyao233 ziyao233 commented Feb 9, 2024

Adds support for RISC-V 64 architecture and documented this. Also adds tests for functions with float/double arguments. This has been tested on Debian sid riscv64.

Commit "Implement gnu_hash symbol lookup" (93b10bf in the upstream) is necessary to make Mimick function properly on RISC-V 64, so is cherry-picked.

Close #30

peadar and others added 3 commits February 10, 2024 04:06
Use gnu_hash in preference to the standard hash table, as it's more
efficient, and fall back to the tranditional table if we can't find it.

This should fix problems on systems that do not provide the traditional
ELF hash table for symbols.
@ros-discourse
Copy link

This pull request has been mentioned on ROS Discourse. There might be relevant details there:

https://discourse.ros.org/t/installing-ros2-humble-on-risc-v-ubuntu/35988/4

@romancardenas
Copy link

I successfully built ROS 2 for RISC-V 64 with this PR. You can reproduce it following this post: https://discourse.ros.org/t/installing-ros2-humble-on-risc-v-ubuntu/35988

@ziyao233
Copy link
Author

I successfully built ROS 2 for RISC-V 64 with this PR. You can reproduce it following this post

I am not familiar with ROS2, much thanks for your work to verify this PR works!

@audrow audrow assigned audrow and mjcarroll and unassigned audrow Feb 22, 2024
mjcarroll added a commit to ros2/mimick_vendor that referenced this pull request Feb 26, 2024
Signed-off-by: Michael Carroll <[email protected]>
@mjcarroll
Copy link
Member

Testing via ros2/mimick_vendor#36

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

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.

Support for RISC-V 64
6 participants