KerwinMa / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Linked fail with a libyuv compiled on Android with neon optimization #108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile libyuv using neon optimization.
2. Link with the libyuv compiled.
3.

What is the expected output? What do you see instead?
Linking fails on simbols:

undefined reference to `YUY2ToYRow_Any_NEON'
undefined reference to `YUY2ToUVRow_Any_NEON'
undefined reference to `UYVYToYRow_Any_NEON'
undefined reference to `UYVYToUVRow_Any_NEON'
undefined reference to `UYVYToYRow_Any_NEON'
undefined reference to `UYVYToUVRow_Any_NEON'

What version of the product are you using? On what operating system?

Version 3.7.2. Android

Please provide any additional information below.

Seems that the function mentioned above calls the macro YANY(NAMEANY, 
ARGBTOY_SSE, BPP)that is not defined for neon.

Original issue reported on code.google.com by christia...@gmail.com on 2 Oct 2012 at 9:11

GoogleCodeExporter commented 9 years ago
I had a bad ifdef SSSE3 wrapping the neon 'any' functions.
Its fixed in head version of svn r389
Which is rolled into webrtc and chromium.
Can you update to r389?

FYI I'm working on Android.mk to make it support armv6, and there will be some 
code changes to get the neon all in its own files, so you can build those with 
neon but the rest without neon.

Original comment by fbarch...@google.com on 4 Oct 2012 at 12:52

GoogleCodeExporter commented 9 years ago
fixed in r399 - all NEON assembly into its own files.
Android.mk compiles those files.

Original comment by fbarch...@google.com on 9 Oct 2012 at 4:59