Aaditya Agarwal created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1569

Project:Branches: aaditya8979/rtems:newlib-tls-conflict to rtems/rtos/rtems:main
Author: Aaditya Agarwal

## Summary

`CONFIGURE_DISABLE_NEWLIB_REENTRANCY` assumes newlib invokes `__getreent()` to 
obtain the per-thread reentrancy structure. When newlib is built with 
`_REENT_THREAD_LOCAL`, reentrancy data is accessed directly through 
thread-local storage, making the callback moot and the option a silent no-op.

Add a `#error` in `<rtems/confdefs/newlib.h>` when both 
`CONFIGURE_DISABLE_NEWLIB_REENTRANCY` and `_REENT_THREAD_LOCAL` are defined so 
configuration conflicts are caught at compile time.

Closes #5781.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1569
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/49/sent_notifications/6-858y2ofojf3vlmq2ovv28475p-1d/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to