Open ffontaine opened 3 years ago
The cascading of higher levels of MMX/SSE/AVX enabling the lower levels is by design. There are no devices with SSE which do not support MMX.
If spandsp is not building for an i686 machine, this needs to be fixed. What is the build platform where it is failing?
I just tried building the current spandsp code on an (not very recent) Fedora i686 machine with "./configure --enable-sse2" and it builds OK. So, the reported problem seems to relate to a particular environment.
Build failure is raised on buildroot by the following toolchain: http://autobuild.buildroot.org/toolchains/tarballs/br-i386-pentium4-full-2020.02.tar.bz2 I opened issue #21
The build script in #21 is explicitly enabling things that the CPU target doesn't support.
AVX, SSE and MMX options are broken since https://github.com/freeswitch/spandsp/commit/87a900c70df73e128a5926587047f529105f5f64
For example, when the user enables SSE, it will also enable MMX and the user can't disable MMX
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com