-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
C Library Roadmap #45776
Comments
Picolibc has an extensive internal test suite which started with the newlib test suite, has had numerous fixes applied and then extensions to validate newer standards versions. It could be made usable on non-picolibc targets. I've also hacked up the glibc source code to build against picolibc. That latter is all GPL, of course. Would it be reasonable to use those glibc bits for testing? I do question the utility of working to fix newlib for greater Zephyr compatibility. As newlib is primarily used with Cygwin, there are very strict source and binary compatibility requirements which make any API changes very difficult to upstream. As picolibc already tracks newlib fixes outside of Cygwin support, it would be more useful to focus on improving picolibc's Zephyr support. |
Which toolchains would need to be supported for picolibc to be used as the default C library? Picolibc currently works with Zephyr SDK, Crosstool-ng, and the GNU ARM Embedded Toolchain. It is known to not work with ARC MetaWare Development Toolkit. I don't know if it works with the Arm Compiler, the Cadence XCC compiler or the Intel oneAPI compiler. Given that the missing compiler support all appear to be licensed, if support for them is required, who can do the work? |
Only the Zephyr SDK, since most Zephyr users are using it and all the upstream testing is done using the Zephyr SDK.
For the proprietary compilers, it would be up to whoever maintains the compiler support to make that work. These compilers usually come with their own (certified) C library, so the picolibc may not be of much interest to their users anyway. |
Should we set up an 'allow list' in the picolibc configuration so that people don't try to use picolibc with the proprietary toolchains? |
Continuing from #54190 (comment):
@cfriedt Currently, the C language standard to use for compiling C source code is specified through the I acknowledge that this is inconsistent and needs to be improved -- preferably by settling on the Kconfig-only selection (e.g. |
This issue describes the future plans for the C library support in the Zephyr RTOS.
Tasks
Resources
The text was updated successfully, but these errors were encountered: