Created attachment 220832 [details]
Seems to build fine for me. Probably OK on ARMv7 too.
Sorry, was mistaken.
Created attachment 220833 [details]
This seems to fix it.
Created attachment 220837 [details]
It'd be nice to have neon optimization on arm. Try the attached patch.
The version is old, it should be updated to something recent. Since it's a google product I assume it follows the same update pattern as lang/v8: https://github.com/freebsd/freebsd-ports/blob/master/lang/v8/Makefile#L3-L7
(In reply to Mikael Urankar from comment #4)
Thanks, that does sound like a better solution, but it fails to build for me:
[00:00:16] ld: error: libyuv.so: undefined reference to SumSquareError_NEON [--no-allow-shlib-undefined]
[00:00:16] ld: error: libyuv.so: undefined reference to ABGRToUVRow_NEON [--no-allow-shlib-undefined]
and lots more symbols...
(In reply to Steve Wills from comment #5)
Weird, can you paste the full build log please?
Created attachment 220845 [details]
take a look
(In reply to Steve Wills from comment #7)
thanks, the *neon64.cc files are not compiled, can you double check that files/patch-CMakeLists.txt is present or CMakeLists.txt is correctly patched?
(In reply to Mikael Urankar from comment #8)
Sorry, yes, I see now, I made a mistake applying the patch. It seems good now, thanks.
Created attachment 220853 [details]
build failure on i386
It does seem to fail on i386 now tho.
Created attachment 220908 [details]
I can't figure out why it fails on 11.4, let's update the port to 0.0.1741, it builds fine on x86 and aarch64
Created attachment 220947 [details]
I made a few minor changes, here's an updated version. Looks good to me, builds fine etc.
A commit references this bug:
Date: Sun Jan 17 17:57:18 UTC 2021
New revision: 561844
graphics/libyuv: fix build on aarch64
Submitted by: mikael
Approved by: maintainer timeout (email@example.com, >2 weeks)