Bug#1096377: blis: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:05:18 GMT 2025


Package: src:blis
Version: 1.1-2
Severity: important
Tags: sid forky
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-15

[This bug is NOT targeted to the upcoming trixie release]

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/blis_1.1-2_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html

[...]
configure: creating makefile fragments in ./obj/x86_64/kernels/skx
configure: creating makefile fragments in ./obj/x86_64/kernels/knl
configure: creating makefile fragments in ./obj/x86_64/kernels/sandybridge
configure: creating makefile fragments in ./obj/x86_64/kernels/penryn
configure: creating makefile fragments in ./obj/x86_64/kernels/zen3
configure: creating makefile fragments in ./obj/x86_64/kernels/zen2
configure: creating makefile fragments in ./obj/x86_64/kernels/haswell
configure: creating makefile fragments in ./obj/x86_64/kernels/zen
configure: creating makefile fragments in ./obj/x86_64/kernels/piledriver
configure: creating makefile fragments in ./obj/x86_64/kernels/bulldozer
configure: creating makefile fragments in ./obj/x86_64/kernels/generic
configure: creating makefile fragments in ./obj/x86_64/ref_kernels
configure: creating makefile fragments in ./obj/x86_64/frame
configure: configured to build within top-level directory of source distribution.
# BLIS/BLAS
set -e; cd debian; for j in openmp pthread serial; do \
	ln -sr libblis4-XXX.symbols.generic libblis4-$j.symbols ;\
	for i in kfreebsd-amd64 amd64 arm64; do  \
		ln -sr libblis4-XXX.symbols.$i libblis4-$j.symbols.$i ;\
	done;\
	for i in i386 x32; do \
		ln -sr libblis4-XXX.symbols.i386 libblis4-$j.symbols.$i ;\
	done;\
done;
# BLIS64/BLAS64
set -e; cd debian; for j in openmp pthread serial; do \
	ln -sr libblis64-4-XXX.symbols.generic libblis64-4-$j.symbols ;\
	for i in kfreebsd-amd64 amd64 arm64; do \
		ln -sr libblis64-4-XXX.symbols.$i libblis64-4-$j.symbols.$i ;\
	done;\
done;
:
make[1]: Leaving directory '/build/reproducible-path/blis-1.1'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/build/reproducible-path/blis-1.1'
set -e; if test -n "$(echo 4-openmp | grep 64)"; then \
	dh_auto_build -B4-openmp -- DEB_LIBBLAS=libblas64.so.3 LIBBLIS=libblis64 ; \
else \
	dh_auto_build -B4-openmp -- DEB_LIBBLAS=libblas.so.3; \
fi;
	cd 4-openmp && make -j8 "INSTALL=install --strip-program=true" DEB_LIBBLAS=libblas.so.3
make[2]: Entering directory '/build/reproducible-path/blis-1.1/4-openmp'
/usr/bin/python3 ./build/flatten-headers.py -l -v1 ./frame/include/blis.h include/x86_64/blis.h "./include" "./ ./config/bulldozer/ ./config/excavator/ ./config/generic/ ./config/haswell/ ./config/knl/ ./config/penryn/ ./config/piledriver/ ./config/sandybridge/ ./config/skx/ ./config/steamroller/ ./config/x86_64/ ./config/zen/ ./config/zen2/ ./config/zen3/ ./kernels/skx/ ./kernels/knl/ ./kernels/sandybridge/ ./kernels/penryn/ ./kernels/zen2/ ./kernels/haswell/ ./kernels/zen/ ./kernels/piledriver/ ./kernels/bulldozer/ ./frame/0/ ./frame/0/copysc/ ./frame/1/ ./frame/1d/ ./frame/1f/ ./frame/1m/ ./frame/1m/packm/ ./frame/1m/unpackm/ ./frame/2/ ./frame/2/gemv/ ./frame/2/ger/ ./frame/2/hemv/ ./frame/2/her/ ./frame/2/her2/ ./frame/2/symv/ ./frame/2/syr/ ./frame/2/syr2/ ./frame/2/trmv/ ./frame/2/trsv/ ./frame/3/ ./frame/3/gemm/ ./frame/3/gemm/ind/ ./frame/3/gemmt/ ./frame/3/hemm/ ./frame/3/symm/ ./frame/3/trmm/ ./frame/3/trmm3/ ./frame/3/trsm/ ./frame/base/ ./frame/base/cast/ ./frame/base/check/ ./frame/base/noopt/ ./frame/base/proj/ ./frame/compat/ ./frame/compat/blis/thread/ ./frame/compat/cblas/ ./frame/compat/cblas/f77_sub/ ./frame/compat/cblas/src/ ./frame/compat/check/ ./frame/compat/extra/ ./frame/compat/f2c/ ./frame/compat/f2c/util/ ./frame/include/ ./frame/include/level0/ ./frame/include/level0/1e/ ./frame/include/level0/1m/ ./frame/include/level0/1r/ ./frame/include/level0/bb/ ./frame/include/level0/ri/ ./frame/thread/ ./frame/util/"
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/bulldozer/bli_cntx_init_bulldozer.c -o obj/x86_64/config/bulldozer/bli_cntx_init_bulldozer.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/excavator/bli_cntx_init_excavator.c -o obj/x86_64/config/excavator/bli_cntx_init_excavator.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/generic/bli_cntx_init_generic.c -o obj/x86_64/config/generic/bli_cntx_init_generic.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/haswell/bli_cntx_init_haswell.c -o obj/x86_64/config/haswell/bli_cntx_init_haswell.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/knl/bli_cntx_init_knl.c -o obj/x86_64/config/knl/bli_cntx_init_knl.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/penryn/bli_cntx_init_penryn.c -o obj/x86_64/config/penryn/bli_cntx_init_penryn.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/piledriver/bli_cntx_init_piledriver.c -o obj/x86_64/config/piledriver/bli_cntx_init_piledriver.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/sandybridge/bli_cntx_init_sandybridge.c -o obj/x86_64/config/sandybridge/bli_cntx_init_sandybridge.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/skx/bli_cntx_init_skx.c -o obj/x86_64/config/skx/bli_cntx_init_skx.o
gcc -O2 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/steamroller/bli_cntx_init_steamroller.c -o obj/x86_64/config/steamroller/bli_cntx_init_steamroller.o
gcc -O2 -fomit-frame-pointer -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/zen/bli_cntx_init_zen.c -o obj/x86_64/config/zen/bli_cntx_init_zen.o
gcc -O2 -fomit-frame-pointer -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/zen2/bli_cntx_init_zen2.c -o obj/x86_64/config/zen2/bli_cntx_init_zen2.o
gcc -O3 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c config/zen3/bli_cntx_init_zen3.c -o obj/x86_64/config/zen3/bli_cntx_init_zen3.o
gcc -O2 -O3 -fomit-frame-pointer -mavx512f -mavx512dq -mavx512bw -mavx512vl -mfpmath=sse -march=skylake-avx512 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c kernels/skx/3/bli_dgemm_skx_asm_16x12_l2.c -o obj/x86_64/kernels/skx/3/bli_dgemm_skx_asm_16x12_l2.o
gcc -O2 -O3 -fomit-frame-pointer -mavx512f -mavx512dq -mavx512bw -mavx512vl -mfpmath=sse -march=skylake-avx512 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c kernels/skx/3/bli_dgemm_skx_asm_16x14.c -o obj/x86_64/kernels/skx/3/bli_dgemm_skx_asm_16x14.o
gcc -O2 -O3 -fomit-frame-pointer -mavx512f -mavx512dq -mavx512bw -mavx512vl -mfpmath=sse -march=skylake-avx512 -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c kernels/skx/3/bli_sgemm_skx_asm_32x12_l2.c -o obj/x86_64/kernels/skx/3/bli_sgemm_skx_asm_32x12_l2.o
gcc -O2 -O3 -mavx512f -mavx512pf -mfpmath=sse -march=knl -g -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/blis-1.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused-function -Wfatal-errors -fPIC -std=c99 -D_POSIX_C_SOURCE=200112L -fopenmp -Iinclude/x86_64 -I./frame/include -I./frame/compat/cblas/src/ -DBLIS_IS_BUILDING_LIBRARY -fvisibility=hidden -c kernels/knl/1m/bli_dpackm_knl_asm_24x8.c -o obj/x86_64/kernels/knl/1m/bli_dpackm_knl_asm_24x8.o
gcc: error: unrecognized command-line option ‘-mavx512pf’; did you mean ‘-mavx512f’?
make[2]: *** [Makefile:725: obj/x86_64/kernels/knl/1m/bli_dpackm_knl_asm_24x8.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/reproducible-path/blis-1.1/4-openmp'
dh_auto_build: error: cd 4-openmp && make -j8 "INSTALL=install --strip-program=true" DEB_LIBBLAS=libblas.so.3 returned exit code 2
make[1]: *** [debian/rules:143: build_4-openmp] Error 25
make[1]: Leaving directory '/build/reproducible-path/blis-1.1'
make: *** [debian/rules:48: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the debian-science-maintainers mailing list