[Debian-med-packaging] Bug#861755: libpll: FTBFS on x86: AVX target specific option mismatch

Aaron M. Ucko ucko at debian.org
Wed May 3 16:10:52 UTC 2017


Source: libpll
Version: 0.0+20160909+ds1-1
Severity: serious
Tags: upstream
Justification: fails to build from source (but built successfully in the past)

Builds of libpll on x86 architectures (even kfreebsd-amd64) fail too:

  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wsign-compare -D_GNU_SOURCE -std=c99 -O3 -msse3 -g -c core_partials_avx.c  -fPIC -DPIC -o .libs/libpll_la-core_partials_avx.o
  core_partials_avx.c: In function 'pll_core_create_lookup_4x4_avx':
  core_partials_avx.c:155:11: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  [...]
  /usr/lib/gcc/x86_64-kfreebsd-gnu/6/include/avxintrin.h:1270:1: error: inlining failed in call to always_inline '_mm256_set_epi64x': target specific option mismatch

It appears to be performing CPU type detection at build time rather
than runtime.  As such, please specify --disable-avx everywhere and
--disable-sse on i386 and ensure that the resulting configurations
build.

Thanks!

FTR, I'm reporting this bug as a regression because I suspect it would
affect binNMUs on amd64.

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?amu@monk.mit.edu



More information about the Debian-med-packaging mailing list