compilation fails on ppc64el with Altivec SIMD since 1.24.0
Closed this issue · 2 comments
smcv commented
Version 1.24.0 doesn't build successfully on Debian's ppc64el (little-endian 64-bit POWER) architecture:
/<<PKGBUILDDIR>>/common/pffft.cpp: In function ‘void {anonymous}::uninterleave2(v4sf, v4sf, v4sf&, v4sf&)’:
...
/<<PKGBUILDDIR>>/common/pffft.cpp:130:12: error: ‘tmp’ was not declared in this scope; did you mean ‘tm’?
130 | out1 = tmp;
I think this is a regression from commit 8032217 "Avoid some unnecessary tmp vars" which looks like there's a mistake in the Altivec implementation. I'll ask the Debian ppc64el/powerpc/ppc64 ports team if they can submit a PR for a fixed, tested Altivec code path.