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

hooks: remove __attribute__((packed)) from struct bionic_file #460

Merged
merged 1 commit into from Aug 24, 2020

Conversation

NotKit
Copy link
Contributor

@NotKit NotKit commented Aug 24, 2020

Bionic does not have this attribute for struct __sFILE definition. Fixes struct size mismatch on aarch64 (used to be 144 vs 152 on Android), which resulted in crash of code using stdout/stderr symbols like fprintf(stderr, ...) found in MTK audio HAL.

Thanks to @krnlyng for noticing this.

Fixes struct size mismatch on aarch64 (used to be 144 vs 152 on
Android), which resulted in crash of code using stdout/stderr
symbols like fprintf(stderr, ...) found in MTK audio HAL.
@krnlyng krnlyng merged commit 07bf87e into libhybris:master Aug 24, 2020
@mariogrip
Copy link
Contributor

Oh! This have might the magic bug we have been fighting for a while on arm64! Will try this out! :D

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.

None yet

4 participants