Skip to content

all: update picolibc to v1.8 - #5570

Draft
jakebailey wants to merge 5 commits into
tinygo-org:devfrom
jakebailey:update-picolibc-1.8.11
Draft

all: update picolibc to v1.8#5570
jakebailey wants to merge 5 commits into
tinygo-org:devfrom
jakebailey:update-picolibc-1.8.11

Conversation

@jakebailey

Copy link
Copy Markdown
Member

This is a prereq for enabling setjmp-based panic/recover handling on xtensa; only 1.8.7+ have the right bits to be able to do spilling without an OS (older versions do a syscall which of course fails in tinygo).

Basically everything in this PR is the newlib and tinystdio promotions.

As a result, some more tests start working due to better math stuff, which I've enabled. The only trick there is that the intrinsics for sin/cos need to point to the right places.

I tested everything I could locally, but we'll see if CI is mad.

@jakebailey

Copy link
Copy Markdown
Member Author

In the time I spent doing this 1.8.12 has come out, so I guess I'll do that

@jakebailey jakebailey changed the title all: update picolibc to v1.8.11 all: update picolibc to v1.8 Aug 2, 2026
@jakebailey
jakebailey force-pushed the update-picolibc-1.8.11 branch from 7af6d46 to a3583d3 Compare August 2, 2026 18:09
@jakebailey

Copy link
Copy Markdown
Member Author

Hm, the test failure is a latent bug in picolibc, and updating to 1.8.12 actually exposed it in newer code ☹️

I guess I'll have to send them a PR or something

@jakebailey

Copy link
Copy Markdown
Member Author

This is now pointing at picolibc main, I also have picolibc/picolibc#1344 which I think will be important for the setjmp stuff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant