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

libc: arcmwdt: library integration fixes #82137

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

Conversation

tagunil
Copy link
Collaborator

@tagunil tagunil commented Nov 27, 2024

The build failures were mostly fixed by #81298, but there are still some runtime failures caused by the libc integration bugs.

If CONFIG_POSIX_API is enabled, but CONFIG_POSIX_DEVICE_IO_ALIAS_WRITE
is not, the _write replacement should be provided to make stdio work.

Signed-off-by: Ilya Tagunov <[email protected]>
Increase the number of locks to match what the ARC MWDT libc requires
now. The library wants to have 2 locks per each available FILE entry,
and then some more. Also do not include an internal libc header, as
all that is needed from that header is a simple typedef.

Signed-off-by: Ilya Tagunov <[email protected]>
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: Toolchains Toolchains
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants