-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Fix posix newlib / disable posix lib on native_posix arch #13540
Conversation
@vanti this should address the issue you reported in: |
Codecov Report
@@ Coverage Diff @@
## master #13540 +/- ##
==========================================
- Coverage 52.45% 52.27% -0.19%
==========================================
Files 322 300 -22
Lines 46592 45032 -1560
Branches 10768 10421 -347
==========================================
- Hits 24442 23541 -901
+ Misses 17247 16772 -475
+ Partials 4903 4719 -184
Continue to review full report at Codecov.
|
recheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me approve this as an incremental step towards resolving POSIX subsys issues (but likely not the final step, for example I'm sure we'l need to tweak includes back and forth).
Closing/reopening to get rid of CI timing test glitch. |
|
For now we are disabling support for POSIX lib on native posix arch. We need to cleanup and support POSIX lib cleanly for hardware targets. Once that is working properly we can look to support the feature on native posix arch. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Both SDK 0.10.0-beta2 and the ARM gcc 2018q2 run into a build issue with newlib and conflict definitions of mode_t type. First we need to add some ifdef protection if mode_t is already defined and set _MODE_T_DECLARED if we are the first to define it. Secondarily, we rename include/posix/sys/types.h to include/posix/posix_types.h so that we aren't getting a name collusion with the system sys/types.h and that we can easily and clearily include it (which we need to do to pull in the info from newlib). Fixes: zephyrproject-rtos#12224 Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
ec29f55
to
2b11888
Compare
No description provided.