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

Fix use arm neon instructions if targeting 32-bit arm architectures only #556

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

Conversation

gilzoide
Copy link

@gilzoide gilzoide commented Feb 27, 2024

This fixes compilation for arm64 platforms that support neon instructions, like Apple Silicon, because the assembly code contained in pixman-arm-neon-asm.S is armv7 assembly, which is not supported by arm64 compilers.

Fixes #496.

This fixes compilation for arm64 platforms, like Apple Silicon, because the assembly code contained in `pixman-arm-neon-asm.S` is armv7 assembly, which is not supported by arm64 compilers.
ed-asriyan added a commit to ed-asriyan/lottie-converter that referenced this pull request May 26, 2024
Newer versions of the Android NDK use clang for compiling, which cannot compile the code contained in `pixman-arm-neon-asm.S`.
@gilzoide
Copy link
Author

gilzoide commented Sep 7, 2024

Now this PR also fixes compilation when using clang, for example when building rlottie for Android arm32 with newer versions of the NDK, which cannot build pixman-arm-neon-asm.S.

@thomastay
Copy link

This worked for me on mac, would be great if it could be merged

@mdingwall
Copy link

To add fuel to this, I have successfully used this to build on MacOS 15.1.1 on an M1 Pro MacBook Pro and in an AARCH64 Ubuntu 22.04 VM on the same machine.

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.

Linker error on iOS and Apple Silicon: Undefined symbol _pixman_composite_over_n_8888_asm_neon
3 participants