Closed pdgendt closed 9 hours ago
It looks like we need to backport https://github.com/zephyrproject-rtos/zephyr/commit/9da477543d13a8b9b6e65017091f2192990e38f0 to the v3.7-branch.
In fact, we should consider backporting the entire series pulling Picolibc 1.8.7 and 1.8.8 to v3.7 (LTS) so that the Zephyr LTS and the latest SDK 0.16.x Picolibc versions are in sync.
cc @keith-packard
It looks like we need to backport zephyrproject-rtos/zephyr@9da4775 to the v3.7-branch.
In fact, we should consider backporting the entire series pulling Picolibc 1.8.7 and 1.8.8 to v3.7 (LTS) so that the Zephyr LTS and the latest SDK 0.16.x Picolibc versions are in sync.
These questions are certainly something to think about.
While the C library is nominally a solid interface defined by the C language and POSIX standards, there are places (like this) where implementation details leak through. If there is a requirement that new versions of the SDK work against both the current development branch and LTS, then we better be testing (and fixing) code in all three places (LTS, main, SDK) instead of just working on Zephyr main and the SDK. Upleveling the toolchain would happen across all three trees at the same time.
That seems to go against my expectations for LTS; we're pulling in a fairly large code change without considering whether each patch meets the LTS goals. But, we also try to support a huge variety of (essentially untested) external toolchains, and this looks a lot like that in one sense.
Alternatively, we could weld the SDK and LTS versions together, supporting both in LTS fashion. That could be extended to other toolchains as well. There are toolchain-specific hacks throughout the Zephyr code base, presumably any of those could depend upon toolchain-version specific behavior.
I'm afraid I have no solid answers here, only questions.
Zephyr version as of writing: https://github.com/zephyrproject-rtos/zephyr/commit/53738cf92479610bcf79fe738636a2b920224a36 SDK v0.16.9-rc2
The following output is printed:
EDIT:
Also confirmed for
aarch64-zephyr-elf
toolchain.