Bug#878346: supercollider mustn't be built with SSE

Adrian Bunk bunk at debian.org
Fri Oct 13 00:03:48 UTC 2017


Source: supercollider
Version: 1:3.8.0~repack-1
Severity: serious

https://buildd.debian.org/status/package.php?p=supercollider&suite=sid

...
c++: error: unrecognized command line option '-msse'; did you mean '-fdse'?
c++: error: unrecognized command line option '-msse'; did you mean '-fdse'?
c++: error: unrecognized command line option '-mfpmath=sse'
c++: error: unrecognized command line option '-msse2'
external_libraries/CMakeFiles/yaml.dir/build.make:65: recipe for target 'external_libraries/CMakeFiles/yaml.dir/libyamlcpp.cpp.o' failed


Using SSE is a baseline violation on i386, and causes a FTBFS
on non-x86 (on amd64 it is already enabled by default).

The buggy code seems to be in CMakeLists.txt:

if(NOT ${CMAKE_SYSTEM_PROCESSOR} MATCHES "^arm")
    option(SSE "Compile with support for SSE instructions." ON)
    option(SSE2 "Compile with support for SSE2 instructions." ON)
else() # ARM platforms do not have SSE
    set(SSE OFF)
    set(SSE2 OFF)
endif()



More information about the pkg-multimedia-maintainers mailing list