Skip to content

Fix pixman warnings with android ndks before r22 #1930

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

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

Conversation

tobil4sk
Copy link
Member

Versions of clang in these ndks did not pass the correct -march flag to the assembler, see: android/ndk#906

This resulted in warnings such as:

/tmp/pixman-radial-gradient-09b366.s: Assembler messages:
/tmp/pixman-radial-gradient-09b366.s:391: Rd and Rm should be different in mla
/tmp/pixman-radial-gradient-09b366.s:394: Rd and Rm should be different in mla
/tmp/pixman-radial-gradient-09b366.s:398: rdhi, rdlo and rm must all be different
/tmp/pixman-radial-gradient-09b366.s:403: Rd and Rm should be different in mla
/tmp/pixman-radial-gradient-09b366.s:406: rdhi, rdlo and rm must all be different
/tmp/pixman-radial-gradient-09b366.s:412: rdhi, rdlo and rm must all be different

Versions of clang in these ndks did not pass the correct -march flag to
the assembler, see: android/ndk#906

This resulted in warnings such as:
```
/tmp/pixman-radial-gradient-09b366.s: Assembler messages:
/tmp/pixman-radial-gradient-09b366.s:391: Rd and Rm should be different in mla
/tmp/pixman-radial-gradient-09b366.s:394: Rd and Rm should be different in mla
/tmp/pixman-radial-gradient-09b366.s:398: rdhi, rdlo and rm must all be different
/tmp/pixman-radial-gradient-09b366.s:403: Rd and Rm should be different in mla
/tmp/pixman-radial-gradient-09b366.s:406: rdhi, rdlo and rm must all be different
/tmp/pixman-radial-gradient-09b366.s:412: rdhi, rdlo and rm must all be different
```
It is necessary due to the pixman assembly files not being compatible
with the llvm assembler, and we only compile assembly files if
PIXMAN_ARM_NEON is enabled.
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