Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

arm64-v8a build fail with missing neon intrinsics #6

Closed
netx123 opened this issue Sep 2, 2016 · 3 comments
Closed

arm64-v8a build fail with missing neon intrinsics #6

netx123 opened this issue Sep 2, 2016 · 3 comments

Comments

@netx123
Copy link

netx123 commented Sep 2, 2016

Hi, your distribution is missing the libpng arm directory, so when building for arm64-v8a architectures which support NEON, the build fails with 'undefined reference to 'png_init_filter_functions_neon'

@sreejith-mohanan
Copy link

Changing the line number 130 in pngpriv.h form

define PNG_ARM_NEON_OPT 2

to

define PNG_ARM_NEON_OPT 0

will avoid neon optimization in arm and will fix the bug

@mlknz
Copy link
Contributor

mlknz commented Feb 24, 2017

Fix worked for me.

Edit:
@julienr could you repair distribution please? Adding arm directory to sources and Android.mk solves issue.

Edit 2:
I have created PR which fixes the issue for me.
#11

@julienr
Copy link
Owner

julienr commented May 25, 2017

@mlknz Merged the PR, thanks !

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants