-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Remove -march=rv32e and add -mabi=ilp32e? #275
Comments
I don't know. The current combination of options in the GUI follows the SiFive requests. If you think they are not correct, please discuss with them and decide on a change. Personally I think rv32e is not a viable specification and should be avoided. |
Thanks Liviu. https://groups.google.com/a/groups.riscv.org/d/msg/isa-dev/DlRfPVt51Dg/_V-dvfxCBgAJ the latest on this is that one can use:
So in terms of the plugin and the latest tools the arch list is correct but the -mabi=ilp32e option is missing. But obviously the whole E area is still a bit unclear. |
your suggestion is to simply add a new entry to the ABI combo, so we can experiment with the new toolchain additions? |
Yes - as far as I can tell that's all that's missing from the plugin at the moment. |
please try the pre-release version 4.3.3-201801301548 from http://gnu-mcu-eclipse.netlify.com/v4-neon-updates-experimental |
Thanks Liviu - yes, I see the -mabi=ilp32e option in this version.
But I guess that's not your problem once the plugin lists the option? Edit: oh - just reviewed this again and I see that the changes for rv32e are on the riscv-next branch: https://groups.google.com/a/groups.riscv.org/forum/#!msg/isa-dev/DlRfPVt51Dg/_V-dvfxCBgAJ |
I don't know what to say, I would delay adding this option until really available. |
I would be inclined to leave it there in case somebody builds a bleeding edge toolchain (from the master branch?) that includes the latest rv32e support and wants to play with it using the plugins?. |
Ok, I'll leave it there, but I have to explicitly mention in the release note that this option is not yet supported by the production toolchains. even so, I might get complaints... as for the brave ones who build their own bleeding edge toolchain, I doubt they ever touch Eclipse... |
Fixed on 2018-01-30. |
The 4.3.3.201804051758 pre-release is now available for testing from http://gnu-mcu-eclipse.netlify.com/v4-neon-updates-test. |
Fixed since 4.3.3.201804191501. |
At the moment the riscv plugin lists -march=rv32e as a configuration option.
However this
riscv-non-isa/riscv-toolchain-conventions#3
suggests that to target rv32e one should specify
-march=rv32i -mabi=ilp32e
Do the plugins need to be changed to remove -march=rv32e and add -mabi=ilp32e?
On the other hand I'm not sure how set in stone the rv32e support, the current implementation in the tools and the way of telling the tools to target rv32e are given that I don't think that the abi is full specified and/or ratified as this suggests?
https://groups.google.com/a/groups.riscv.org/forum/#!topic/sw-dev/nWLvkYTseU4
The text was updated successfully, but these errors were encountered: