Closed marijnvdwerf closed 8 years ago
According to the error, it's complaining that a function is being defined in both resample_neon.h
and resample_sse.h
. This shouldn't be happening based on any sane configuration.
In the config file, it should have either _USE_SSE
(and possibly _USE_SSE2
) (the x86 extension) OR _USE_NEON
(the ARM extension), never both.
On both x86 and x86_64, ./configure
contained outputted these lines:
checking for SSE in current arch/CFLAGS... yes
checking for SSE2 in current arch/CFLAGS... yes
checking for NEON in current arch/CFLAGS... yes
Fixed it by passing --disable-neon
, just as with arm64
Fixed it by passing
--disable-neon
, just as with arm64
Why are you passing --disable-neon
to arm64? I don't know ARM well enough to know for sure if it has that extension, but if arm7a has it, I'd be surprised if arm64 doesn't. The _USE_SSE
and _USE_NEON
provide useful optimizations, which can be particularly useful on the low-power ARM chips here.
If the problem is that the compiler is mis-reporting it architecture's features (possibly because it can compile multiple architectures), then overriding --(en|dis)able-neon
, --(en|dis)able-sse
, and --(en|dis)able-sse2
for ALL architectures based on what is available would be a good idea.