-
Notifications
You must be signed in to change notification settings - Fork 121
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
Picolibc build fails for microblazeel #639
Comments
I'm sorry. I couldn't fully understand this statement. Are you saying, picolibc should merge before microblaze support is merged? Thus, the next step here would be to blacklist microblazeel from picolibc build process, right? |
@alpsayin Picolibc support is already part of the upstream Zephyr and it will soon become the default libc for Zephyr; meaning, if you want to upstream Microblaze support, it will need to have Picolibc support (i.e. Picolibc will need to be able to build for it). |
This commit disables Picolibc for the microblazeel-zephyr-elf toolchain because Picolibc currently fails to build for the Microblaze architecture (see GitHub issue zephyrproject-rtos#639). Revert this commit when zephyrproject-rtos#639 is fixed. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
Yes, that is done here: stephanosio@88a8937 (note that the microblazeel config file did not enable Picolibc, when it should have). |
Ah okay, got it, much clearer now. Thank you very much. |
Okay, it's a bit more than that. I'm on this. |
The cmake code for picolibc (used while building picolibc as a module) allows "unsupported" architectures to build, but the meson code (as used by the SDK) checks to make sure someone has actually validated that the target is supported and has all of the bits necessary for complete C language support. That requires setjmp/longjmp code, but can also include thread local storage helpers, math exception definitions, qemu startup code and as much architecture-specific acceleration as you like. This is covered in the picolibc documentation here: https://github.com/picolibc/picolibc#supported-architectures |
Droping links:
|
Picolibc build fails for the
microblazeel-zephyr-elf
target:Full build log: log_linux-x86_64_microblazeel-zephyr-elf.zip
Picolibc will need to be supported before the Zephyr SDK microblazeel toolchain can be considered stable and the microblaze architecture support can be merged.
The text was updated successfully, but these errors were encountered: