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

picolibc: get --picolibc-buildtype=release working #820

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

keith-packard
Copy link
Collaborator

This took a patch to gcc and a patch to picolibc

This provides both minsize and release versions of picolibc in the SDK,
allowing users to select between them while building their application.

Signed-off-by: Keith Packard <[email protected]>
In release builds, several targets would get both asm and C versions
of strchr included, which is a fatal picolibc build error. Pull
in the fix for that.

Signed-off-by: Keith Packard <[email protected]>
gcc's spec file processing had a bug where it would
truncate the 'release' paths when using a 'sysroot' style
install (which uses getenv in spec files).

Signed-off-by: Keith Packard <[email protected]>
Not strictly necessary for Zephyr which doesn't use this for linking,
but still nice to have a working toolchain anyways.

Signed-off-by: Keith Packard <[email protected]>
Need to use BUILD_DIR instead of WORKSPACE as the latter hasn't been
set at this point.

Signed-off-by: Keith Packard <[email protected]>
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