Source: kamailio Version: 6.1.1-1 Severity: serious Tags: ftbfs patch X-Debbugs-Cc: Victor Seva <[email protected]>
https://buildd.debian.org/status/fetch.php?pkg=kamailio&arch=armhf&ver=6.1.1-2&stamp=1775320159&raw=0 ... cc1: error: ‘-mfloat-abi=hard’: selected architecture lacks an FPU ... stop-setting-march-on-arm.patch was dropped with the switch to CMake, but the attached CMake version of it is required.
Description: Stop setting -march on arm Author: Adrian Bunk <[email protected]> --- kamailio-6.1.1.orig/cmake/compiler-specific.cmake +++ kamailio-6.1.1/cmake/compiler-specific.cmake @@ -189,7 +189,7 @@ elseif(TARGET_ARCH STREQUAL "arm7") # ARM specific flags target_compile_options( - common_compiler_flags INTERFACE -march=armv7-a -funroll-loops -fsigned-char + common_compiler_flags INTERFACE -funroll-loops -fsigned-char ) if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.2.0) target_compile_options(common_compiler_flags INTERFACE -ftree-vectorize -fno-strict-overflow) @@ -207,7 +207,7 @@ elseif(TARGET_ARCH STREQUAL "arm6") if(CMAKE_C_COMPILER_ID STREQUAL "GNU") target_compile_definitions(common_compiler_flags INTERFACE CC_GCC_LIKE_ASM) target_compile_options( - common_compiler_flags INTERFACE -march=armv6 -funroll-loops -fsigned-char + common_compiler_flags INTERFACE -funroll-loops -fsigned-char ) if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.2.0) target_compile_options(common_compiler_flags INTERFACE -ftree-vectorize -fno-strict-overflow) @@ -227,7 +227,7 @@ elseif(TARGET_ARCH STREQUAL "arm") # ARM specific flags target_compile_options( - common_compiler_flags INTERFACE -marm -march=armv5t -funroll-loops -fsigned-char + common_compiler_flags INTERFACE -marm -funroll-loops -fsigned-char ) if(CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.2.0) target_compile_options(common_compiler_flags INTERFACE -ftree-vectorize -fno-strict-overflow)

