Bug#926998: protracker: FTBFS on i386: attempts to use SSE intrinsics

Andreas Beckmann anbe at debian.org
Sat Apr 13 09:45:10 BST 2019

Source: protracker
Version: 2.3d.r176-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)


protracker/experimental FTBFS on i386:


Compiling, please wait...
gcc  src/gfx/*.c src/*.c -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -Wdate-time -D_FORTIFY_SOURCE=2 -lSDL2 -lm -Wall -Wno-unused-result -Wc++-compat -Wshadow -Winit-self -Wextra -Wunused -Wunreachable-code -Wredundant-decls -Wswitch-default -o release/other/protracker -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
src/pt_audio.c: In function ‘paulaSetPeriod’:
src/pt_audio.c:348:18: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
  scopeChannel_t *s;
In file included from src/pt_audio.c:27:
src/pt_audio.c: In function ‘mixChannels’:
src/pt_helpers.h:45:7: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
   i = _mm_cvttsd_si32(_mm_load_sd(&d)); \
src/pt_audio.c:540:4: note: in expansion of macro ‘double2int32_trunc’
    double2int32_trunc(j, dPeakAmp);
In file included from /usr/lib/gcc/i686-linux-gnu/8/include/xmmintrin.h:1252,
                 from /usr/lib/gcc/i686-linux-gnu/8/include/immintrin.h:29,
                 from /usr/include/SDL2/SDL_cpuinfo.h:67,
                 from /usr/include/SDL2/SDL.h:38,
                 from src/pt_audio.c:14:
src/pt_audio.c: In function ‘processMixedSamples’:
/usr/lib/gcc/i686-linux-gnu/8/include/emmintrin.h:852:1: error: inlining failed in call to always_inline ‘_mm_cvttsd_si32’: target specific option mismatch
 _mm_cvttsd_si32 (__m128d __A)

and so on ...


More information about the pkg-multimedia-maintainers mailing list