Skip to content
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

Revert "libgcc: gthr: support for --enable-threads=c11" until compatibility issue is resolved #30

Conversation

stephanosio
Copy link
Member

@stephanosio stephanosio commented May 5, 2024

This series reverts the support for C11 threads-based gthread implementation introduced in #27 because it breaks non-multithreaded C++ applications and requires the introduction of special C11 threads stub functions on the Zephyr side, which creates an incompatibility between the latest Zephyr SDK release and earlier Zephyr releases.

The patch should be reworked to provide the weak stub implementations of the C11 threads functions within libgcc, as described in zephyrproject-rtos/sdk-ng#751 (comment), to ensure that it does not break compatibility with the prior Zephyr releases.

This reverts commit 47b9276.

Signed-off-by: Stephanos Ioannidis <[email protected]>
This reverts commit 52dc7f4.

Signed-off-by: Stephanos Ioannidis <[email protected]>
This reverts commit 685f451.

Signed-off-by: Stephanos Ioannidis <[email protected]>
@stephanosio
Copy link
Member Author

@cfriedt This is intended to revert the --enable-threads=c11 patches so that a new Zephyr SDK 0.16.x release that remains compatible with prior Zephyr releases can be made.

These patches can be re-introduced when they are reworked to not break compatibility with prior Zephyr releases as described above. Alternatively, they can be introduced as-is for Zephyr SDK 0.17.0, which is intended to be a release with breaking changes.

@stephanosio
Copy link
Member Author

Merging since #31 still has remaining issues (see zephyrproject-rtos/sdk-ng#755), and going through more iterations to fix this issue would further delay the new SDK release that many have been waiting for.

@stephanosio stephanosio merged commit 504d8c3 into zephyrproject-rtos:zephyr-gcc-12.2.0 May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant