Bug#1096808: highway: ftbfs with GCC-15
Matthias Klose
doko at debian.org
Mon Feb 17 17:19:04 GMT 2025
Package: src:highway
Version: 1.2.0-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/highway_1.2.0-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
[...]
[38/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -Dhwy_contrib_EXPORTS -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u64d.cc.o -MF CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u64d.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u64d.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/sort/vqsort_u64d.cc
[39/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/abort_test.dir/hwy/abort_test.cc.o -MF CMakeFiles/abort_test.dir/hwy/abort_test.cc.o.d -o CMakeFiles/abort_test.dir/hwy/abort_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/abort_test.cc
FAILED: CMakeFiles/abort_test.dir/hwy/abort_test.cc.o
/usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/abort_test.dir/hwy/abort_test.cc.o -MF CMakeFiles/abort_test.dir/hwy/abort_test.cc.o.d -o CMakeFiles/abort_test.dir/hwy/abort_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/abort_test.cc
In file included from /usr/include/gtest/internal/gtest-port.h:295,
from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:63,
from /build/reproducible-path/highway-1.2.0/hwy/tests/hwy_gtest.h:39,
from /build/reproducible-path/highway-1.2.0/hwy/abort_test.cc:7:
/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^~~~~~~
cc1plus: all warnings being treated as errors
[40/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -Dhwy_contrib_EXPORTS -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u32a.cc.o -MF CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u32a.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u32a.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/sort/vqsort_u32a.cc
[41/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -Dhwy_contrib_EXPORTS -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u32d.cc.o -MF CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u32d.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u32d.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/sort/vqsort_u32d.cc
[42/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -Dhwy_contrib_EXPORTS -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u16d.cc.o -MF CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u16d.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u16d.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/sort/vqsort_u16d.cc
[43/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -Dhwy_contrib_EXPORTS -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -MD -MT CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u16a.cc.o -MF CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u16a.cc.o.d -o CMakeFiles/hwy_contrib.dir/hwy/contrib/sort/vqsort_u16a.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/sort/vqsort_u16a.cc
[44/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o -MF CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o.d -o CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/copy_test.cc
FAILED: CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o
/usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o -MF CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o.d -o CMakeFiles/copy_test.dir/hwy/contrib/algo/copy_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/copy_test.cc
In file included from /usr/include/gtest/internal/gtest-port.h:295,
from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:63,
from /build/reproducible-path/highway-1.2.0/hwy/tests/hwy_gtest.h:39,
from /build/reproducible-path/highway-1.2.0/hwy/tests/test_util-inl.h:27,
from /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/copy_test.cc:26,
from /build/reproducible-path/highway-1.2.0/hwy/foreach_target.h:72,
from /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/copy_test.cc:23:
/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^~~~~~~
cc1plus: all warnings being treated as errors
[45/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o -MF CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o.d -o CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/transform_test.cc
FAILED: CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o
/usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o -MF CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o.d -o CMakeFiles/transform_test.dir/hwy/contrib/algo/transform_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/transform_test.cc
In file included from /usr/include/gtest/internal/gtest-port.h:295,
from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:63,
from /build/reproducible-path/highway-1.2.0/hwy/tests/hwy_gtest.h:39,
from /build/reproducible-path/highway-1.2.0/hwy/tests/test_util-inl.h:27,
from /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/transform_test.cc:29,
from /build/reproducible-path/highway-1.2.0/hwy/foreach_target.h:72,
from /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/transform_test.cc:26:
/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^~~~~~~
cc1plus: all warnings being treated as errors
[46/184] /usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o -MF CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o.d -o CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/find_test.cc
FAILED: CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o
/usr/bin/c++ -DHWY_SHARED_DEFINE -DTOOLCHAIN_MISS_ASM_HWCAP_H -I/build/reproducible-path/highway-1.2.0 -g -O2 -ffile-prefix-map=/build/reproducible-path/highway-1.2.0=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DHWY_BROKEN_EMU128=0 -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -fmerge-all-constants -Wall -Wextra -Wconversion -Wsign-conversion -Wvla -Wnon-virtual-dtor -Wcast-align -fmath-errno -fno-exceptions -Wno-psabi -Werror -DHWY_IS_TEST=1 -DGTEST_HAS_PTHREAD=1 -MD -MT CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o -MF CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o.d -o CMakeFiles/find_test.dir/hwy/contrib/algo/find_test.cc.o -c /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/find_test.cc
In file included from /usr/include/gtest/internal/gtest-port.h:295,
from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:63,
from /build/reproducible-path/highway-1.2.0/hwy/tests/hwy_gtest.h:39,
from /build/reproducible-path/highway-1.2.0/hwy/tests/test_util-inl.h:27,
from /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/find_test.cc:31,
from /build/reproducible-path/highway-1.2.0/hwy/foreach_target.h:72,
from /build/reproducible-path/highway-1.2.0/hwy/contrib/algo/find_test.cc:28:
/usr/include/c++/15/ciso646:46:4: error: #warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros" [-Werror=cpp]
46 | # warning "<ciso646> is deprecated in C++17, use <version> to detect implementation-specific macros"
| ^~~~~~~
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
More information about the Pkg-phototools-devel
mailing list