-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Upgrade RISC-V ToolChains for bluetrum/ab32vg1-ab-prougen,qemu-virt64,ultrarisc/ur_dp1000_evb to gcc 12.x #10739
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
base: master
Are you sure you want to change the base?
Conversation
📌 Code Review Assignment🏷️ Tag: bsp_ultrariscReviewers: zhangjing0303 Changed Files (Click to expand)
🏷️ Tag: workflowReviewers: Rbb666 kurisaW supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2025-09-27 07:53 CST)
📝 Review Instructions
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
f40085b
to
15e0e33
Compare
…-riscv,ultrarisc/ur_dp1000_evb to gcc 12.x In total, rv64gc is equivalent to rv64imafdc_zicsr_zifencei. fixes warning: rtthread.elf has a LOAD segment with RWX permissions c:/env-windows/tools/gnu_gcc/riscv64-linux-musleabi_for_i686-w64-mingw32/bin/../lib/gcc/riscv64-linux-musleabi/12.2.0/../../../../riscv64-linux-musleabi/bin/ld.exe: warning: rtthread.elf has a LOAD segment with RWX permissions Add normal-env.bat and smart-env.bat
15e0e33
to
57031e1
Compare
57031e1
to
0108cfb
Compare
工具链更新建议从此处完成,不要直接使用上游仓库:https://github.com/RT-Thread/toolchains-ci/releases |
shell: bash | ||
run: | | ||
wget -q https://github.com/RT-Thread/toolchains-ci/releases/download/v1.7/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_latest.tar.bz2 | ||
wget -q https://download.rt-thread.org/download/rt-smart/toolchains/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu_latest.tar.bz2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不建议使用 download.rt-thread.org
的工具链用于ci,特别还是latest版本的工具链。如果需要,可以更新 toolchains-ci 中的版本。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toolchains-ci 如何升级?
拉取/合并请求描述:(PR description)
There is no proper windows toolchain for risvc for gcc 10.0
upgrade 12.x we have same tool with linux.
rv64gc is equivalent to rv64imafdc_zicsr_zifencei in gcc 12.x
fixes warning: rtthread.elf has a LOAD segment with RWX permissions
This warning is present when compile with gcc 12.x:
c:/env-windows/tools/gnu_gcc/riscv64-linux-musleabi_for_i686-w64-mingw32/bin/../lib/gcc/riscv64-linux-musleabi/12.2.0/../../../../riscv64-linux-musleabi/bin/ld.exe: warning: rtthread.elf has a LOAD segment with RWX permissions
Add normal-env.bat and smart-env.bat for these bsp when needed
[
为什么提交这份PR (why to submit this PR)
There is no proper toolchain for riscv on windows
你的解决方案是什么 (what is your solution)
upgrade to gcc 12.x
请提供验证的bsp和config (provide the config and bsp)
bluetrum/ab32vg1-ab-prougen,qemu-virt64,ultrarisc/ur_dp1000_evb
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0
代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up