Hi,
gcc-arm-none-eabi fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/gcc-arm-none-eabi_arm64.build.xz
The last lines of the build log are at the end of this report.
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html
Please only close this issue after double-checking that the package can be
built correctly with GCC 16.
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
[...]
yes
checking whether asprintf is declared... checking whether basename is declared... yes
checking whether vasprintf is declared... yes
checking whether ffs is declared... yes
checking whether snprintf is declared... yes
checking whether asprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether calloc is declared... yes
checking whether snprintf is declared... yes
yes
checking whether getenv is declared... checking whether vsnprintf is declared... yes
yes
checking whether calloc is declared... checking whether getopt is declared... yes
yes
checking whether getenv is declared... checking whether malloc is declared... yes
yes
checking whether getopt is declared... checking whether realloc is declared... yes
yes
checking whether sbrk is declared... checking whether malloc is declared... yes
yes
checking whether strtol is declared... checking whether realloc is declared... yes
yes
checking whether sbrk is declared... checking whether strtoul is declared... yes
yes
checking whether strtol is declared... checking whether strtoll is declared... yes
yes
checking whether strtoul is declared... checking whether strtoull is declared... yes
yes
checking whether strtoll is declared... checking whether strverscmp is declared... yes
checking whether strnlen is declared... yes
checking whether strtoull is declared... yes
checking whether canonicalize_file_name must be declared... yes
checking whether strverscmp is declared... yes
no
checking for SHA1 HW acceleration support... checking whether strnlen is declared... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
yes
checking whether canonicalize_file_name must be declared... checking for getpagesize... (cached) yes
checking for working mmap... no
checking for SHA1 HW acceleration support... no
yes
checking for working strncmp... checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
configure: updating cache ./config.cache
configure: creating ./config.status
yes
checking for working strncmp... config.status: creating Makefile
yes
config.status: creating testsuite/Makefile
configure: updating cache ./config.cache
config.status: creating config.h
configure: creating ./config.status
config.status: executing default commands
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[3]: Leaving directory '/build/reproducible-path/gcc-arm-none-eabi-15.2.rel1.1/build-aarch64-none-elf'
make[2]: *** [Makefile:1041: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/gcc-arm-none-eabi-15.2.rel1.1/build-aarch64-none-elf'
dh_auto_build: error: cd build-aarch64-none-elf && make -j128 -j100 returned exit code 2
make[1]: *** [debian/rules:119: build-aarch64] Error 25
make[1]: Leaving directory '/build/reproducible-path/gcc-arm-none-eabi-15.2.rel1.1'
make: *** [debian/rules:107: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2