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

i#2154 Android64: Fix write syscall in nolibc_print() #7190

Merged
merged 3 commits into from
Jan 17, 2025

Conversation

jackgallagher-arm
Copy link
Collaborator

Current versions of Android make the FILE struct opaque so we can't access its members to get the file descriptor for stderr. Instead we can use STDERR_FILENO from unistd.h.

Issue: #1874, #2154

Current versions of Android make the FILE struct opaque so we can't
access its members to get the file descriptor for stderr. Instead we can
use STDERR_FILENO from unistd.h.

Issue: #1874, #2154
@derekbruening
Copy link
Contributor

Xref musl libc having similar FILE struct issues: PR #2916

suite/tests/tools.c Outdated Show resolved Hide resolved
Change-Id: Icaf455801b6c3346d4a80b498407171e57db7409
Change-Id: Ib4e4828a233e0b4470c530d41404634ce3e5fa0f
@jackgallagher-arm jackgallagher-arm merged commit d3a91d6 into master Jan 17, 2025
17 checks passed
@jackgallagher-arm jackgallagher-arm deleted the i2154-android64-fix-nolibc_print branch January 17, 2025 08:51
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.

3 participants