[Debian-med-packaging] Bug#1107772: gmap inlining failed in call to ‘always_inline’ ‘_mm_alignr_epi8’: target specific option mismatch

Jochen Sprickerhof jspricke at debian.org
Sat Jun 14 09:15:16 BST 2025


Source: gmap
Version: 2024-11-20+ds-2
Severity: normal

Hi,

I noticed that the build of gmap fails on reproduce.debian.net using a
Intel Xeon X5690 but succeeds on my system with a i7-8565U:

https://reproduce.debian.net/amd64/#gmap

The relevant log is:

gcc -DHAVE_CONFIG_H -I. -I../../src   -Wdate-time -D_FORTIFY_SOURCE=2   -DTARGET=\"x86_64-pc-linux-gnu\" -DGMAPDB=\"/var/cache/gmap\" -mpopcnt -DHAVE_SSE2=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -DHAVE_SSE4_2=1 -DHAVE_AVX2=1 -mbmi2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gmap-2024-11-20+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O3 -DSIMDE_ENABLE_OPENMP -fomit-frame-pointer -Werror=implicit-function-declaration -c -o gmap_avx2-genome.o `test -f 'genome.c' || echo '../../src/'`genome.c
[..]
/usr/lib/gcc/x86_64-linux-gnu/14/include/tmmintrin.h:185:1: error: inlining failed in call to ‘always_inline’ ‘_mm_alignr_epi8’: target specific option mismatch
  185 | _mm_alignr_epi8(__m128i __X, __m128i __Y, const int __N)
      | ^~~~~~~~~~~~~~~
../../src/compress.c:781:17: note: called from here
  781 |       current = _mm_alignr_epi8(old_prev,prev,4);


It is using SSE3, SSE4 and AVX2 which are all not guaranteed according
to:

https://wiki.debian.org/ArchitectureSpecificsMemo#amd64

This looks like a baseline violation to me.

Cheers Jochen

-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.32-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


More information about the Debian-med-packaging mailing list