-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[RISCV] error: duplicated standard user-level extension 'zifencei' since LLVM 19 #136803
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
Comments
@llvm/issue-subscribers-backend-risc-v Author: Pengcheng Wang (wangpc-pp)
See: https://godbolt.org/z/cnan5zh41
Before LLVM 19, we can compile successfully with
The behavior is not compatible. Is there something I missed? I know there are issues with |
Probably an unintentional break from dc90af5. |
I see, only LLVM 17/18 can accept |
Possible fix.
|
@topperc Thanks for the fix! I was hesitating to support this but I checked that GCC can accept specifying |
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
I think the answer is basically that there won't be further LLVM 19 releases so this won't get backported to LLVM 19. If there are distros packaging LLVM 19 and supporting it long term, we can file bugs on their issue trackers to suggest they cherry-pick the patch in their downstream package. |
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803
This matches GCC and we supported it in LLVM 17/18. Fixes llvm#136803 (cherry picked from commit 6c33735)
See: https://godbolt.org/z/cnan5zh41
Before LLVM 19, we can compile successfully with
-march=rv64gc_zifencei
. But since LLVM 19, it complains:The behavior is not compatible.
Is there something I missed? I know there are issues with
zifencei
implication, did we decide to not accept standalonezifencei
? But I don't see it in release notes...The text was updated successfully, but these errors were encountered: