Source: kodi Version: 2:18.7+dfsg1-1 Severity: serious Tags: patch SSE is not part of the i386 baseline. A fix is attached.
Description: The baseline of the i386 port does not include SSE SSE2 is always enabled on amd64. Author: Adrian Bunk <b...@debian.org>
--- kodi-18.7+dfsg1.orig/cmake/scripts/linux/ArchSetup.cmake +++ kodi-18.7+dfsg1/cmake/scripts/linux/ArchSetup.cmake @@ -13,7 +13,7 @@ else() elseif(CPU MATCHES "i.86") set(ARCH i486-linux) set(NEON False) - add_options(CXX ALL_BUILDS "-msse") + #add_options(CXX ALL_BUILDS "-msse") elseif(CPU STREQUAL arm1176jzf-s) set(ARCH arm) set(NEON False) --- kodi-18.7+dfsg1.orig/xbmc/cores/AudioEngine/CMakeLists.txt +++ kodi-18.7+dfsg1/xbmc/cores/AudioEngine/CMakeLists.txt @@ -137,11 +137,11 @@ endif() core_add_library(audioengine) target_include_directories(${CORE_LIBRARY} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) -if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) - if(HAVE_SSE) - target_compile_options(${CORE_LIBRARY} PRIVATE -msse) - endif() - if(HAVE_SSE2) - target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) - endif() -endif() +#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) +# if(HAVE_SSE) +# target_compile_options(${CORE_LIBRARY} PRIVATE -msse) +# endif() +# if(HAVE_SSE2) +# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) +# endif() +#endif() --- kodi-18.7+dfsg1.orig/xbmc/rendering/CMakeLists.txt +++ kodi-18.7+dfsg1/xbmc/rendering/CMakeLists.txt @@ -4,12 +4,12 @@ set(HEADERS RenderSystem.h RenderSystemTypes.h) core_add_library(rendering) -if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) - if(HAVE_SSE) - target_compile_options(${CORE_LIBRARY} PRIVATE -msse) - endif() - if(HAVE_SSE2) - target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) - endif() -endif() +#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) +# if(HAVE_SSE) +# target_compile_options(${CORE_LIBRARY} PRIVATE -msse) +# endif() +# if(HAVE_SSE2) +# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) +# endif() +#endif() --- kodi-18.7+dfsg1.orig/xbmc/utils/CMakeLists.txt +++ kodi-18.7+dfsg1/xbmc/utils/CMakeLists.txt @@ -207,8 +207,8 @@ endif() core_add_library(utils) -if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) - if(HAVE_SSE2) - target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) - endif() -endif() +#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) +# if(HAVE_SSE2) +# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) +# endif() +#endif()