-
Notifications
You must be signed in to change notification settings - Fork 147
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
picolibc: Update to picolibc-1.8.7 #781
Conversation
Looks like there's some issue running 'node' on the linux CI machines?
|
cb0825c
to
089736b
Compare
Yes, this was just fixed. Regarding other failures, please try rebasing onto the latest main. |
089736b
to
1aeff51
Compare
Rebased onto the latest main to pull in the CI fixes. |
Integrate new upstream version. Include strnlen_s fix. Include aarch64 cmake fix. Signed-off-by: Keith Packard <keithp@keithp.com>
1aeff51
to
67cafde
Compare
This eliminates a second longjmp definition which didn't have the _Noreturn attribute. Signed-off-by: Keith Packard <keithp@keithp.com>
Added a picolibc fix for i386 with non-Linux toolchains (like Zephyr). We'll see if that helps? |
@keith-packard FYI |
What Zephyr version is this trying to build? Can I get any of the built toolchain artifacts to test against? |
https://github.com/zephyrproject-rtos/zephyr/tree/collab-sdk-dev
You should be able to download one from https://github.com/zephyrproject-rtos/sdk-ng/actions/runs/10938020345?pr=781. |
Managed to reproduce the issue. It looks like the include path is busted -- the picolibc stdio.h isn't getting found; instead it loads the sys-include/stdio.h file which is a hacked up version of the newlib stdio.h file. I'll poke a bit more. |
Yeah, picolibc/picolibc@cf914a3 was supposed to fix some bad path handling and appears to have broken the SDK build. I'm not entirely sure what is wrong, but reverting that "should" fix the issue. I'll give that a shot. |
Attempt to fix the bad specs file paths Signed-off-by: Keith Packard <keithp@keithp.com>
That seems to have fixed the issue. Thanks! |
The contributor who provided picolibc/picolibc@cf914a3 has provided an updated version which should work for Zephyr in my next picolibc update (which looks like it might be soon; there are a bunch of small fixes which 1.8.7 provoked that would be nice to have in a 'real' picolibc release, synchronized with Zephyr). |
Integrate new upstream version.
Include strnlen_s fix.
Include aarch64 cmake fix.