-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
libC Kconfig: Do not default to picolibc for native_sim due to GETOPT #64233
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Defaulting to picolibc when selecting GETOPT is a bit nicer for users in some cases, but not required. But too many things require GETOPT (for ex. some SHELL configurations) in combinations with native posix drivers which do not support yet embedded libcs (for ex. the native USB driver) (see zephyrproject-rtos#60096 ) Which leads to configurations in those cases which cannot be built. Keep defaulting to the external libC in this case. This reverts the getop part of this commit: 5f8057e Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
aescolar
added
area: C Library
C Standard Library
area: native port
Host native arch port (native_sim)
labels
Oct 23, 2023
zephyrbot
added
the
Trivial
Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
label
Oct 23, 2023
aescolar
added
Hotfix
Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc.
bug
The issue is a bug, or the PR is fixing a bug
labels
Oct 23, 2023
ycsin
approved these changes
Oct 23, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
west build -b native_sim_64 -p always -t run -T samples/subsys/shell/shell_module/sample.shell.shell_module.usb
build pass after this, thanks for the promptly fix
jukkar
approved these changes
Oct 23, 2023
After this patch:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: C Library
C Standard Library
area: native port
Host native arch port (native_sim)
bug
The issue is a bug, or the PR is fixing a bug
Hotfix
Fix for issues blocking development, i.e. CI issues, tests failing in CI, etc.
Trivial
Changes that can be reviewed by anyone, i.e. doc changes, minor build system tweaks, etc.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Defaulting to picolibc when selecting GETOPT is a bit nicer for users in some cases, but not required.
But too many things require GETOPT (for ex. some SHELL configurations) in combinations with native posix drivers which do not support yet embedded libcs (for ex. the native USB driver) (see #60096 )
Which leads to configurations in those cases which cannot be built. Keep defaulting to the external libC in this case.
This reverts the getop part of this commit:
5f8057e
Fixes #64227