Bug#987912: iaxmodem FTBFS with gcc 10 on i386

Adrian Bunk bunk at debian.org
Sat May 1 22:53:00 BST 2021


Source: iaxmodem
Version: 1.2.0~dfsg-3
Severity: serious
Tags: ftbfs patch

https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/i386/iaxmodem.html

...
gsm0610_rpe.c: Assembler messages:
gsm0610_rpe.c:80: Error: unsupported instruction `movq'
gsm0610_rpe.c:81: Error: unsupported instruction `movq'
gsm0610_rpe.c:82: Error: unsupported instruction `movq'
make[4]: *** [Makefile:618: gsm0610_rpe.lo] Error 1


A proper fix would be #818389 (ideally additionally #987911),
but the attached fix is the minimal fix for bullseye.
-------------- next part --------------
Description: Fix FTBFS with gcc 10 on i386
Author: Adrian Bunk <bunk at debian.org>

--- iaxmodem-1.2.0~dfsg.orig/lib/spandsp/src/gsm0610_rpe.c
+++ iaxmodem-1.2.0~dfsg/lib/spandsp/src/gsm0610_rpe.c
@@ -58,7 +58,7 @@
 static void weighting_filter(const int16_t *e,     // signal [-5..0.39.44] IN
                              int16_t x[40])
 {
-#if defined(__GNUC__)  &&  defined(__i386__)
+#if 0
     /* Table 4.4   Coefficients of the weighting filter */
     /* This must be padded to a multiple of 4 for MMX to work */
     static const union


More information about the Pkg-voip-maintainers mailing list