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
warnings when using newlibc and threads #39413
Comments
I am unable to reproduce this (though, it was on Linux). Please post a more detailed bug report that includes essential information such as:
|
Ah sure, sorry I forgot to mention that. The board was nrf52840dk_nrf52840. Here is the output when building.
Here is the conf file
|
It looks like you are using a very old GNU Arm Embedded/GCC release that bundles an incompatible newlib version (in particular, incompatible retargetable locking interface). Please upgrade to the latest version and you should not see these warnings. I have tested with the |
I just noticed the same thing after you mentioned that. I have been running with this version for some time. I will update and see what I get. Thanks! |
Okay you are correct, I was just using an ancient toolchain. Thanks! |
Describe the bug
I noticed after going from 2.6 to the latest 2.7 release candidate, I was getting a number of warnings about type conversions that were unrelated to my application. They appear to be related to use of
CONFIG_NEWLIB_LIBC
To Reproduce
Steps to reproduce the behavior:
samples/basic/threads
withCONFIG_NEWLIB_LIBC=y
Expected behavior
Clean build without warning with or without
CONFIG_NEWLIB_LIBC=y
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: