[Pkg-electronics-devel] Bug#1096682: gcc-sh-elf: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:15:00 GMT 2025


Package: src:gcc-sh-elf
Version: 8.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/gcc-sh-elf_8.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

[...]
checking dl_iterate_phdr in target C library... unknown
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to avoid linking multiple front-ends at once... no
checking whether to serialize linking of multiple front-ends... no
GNU
checking for O_CLOEXEC... yes
checking for makeinfo... makeinfo --split-size=5000000
Links are now set up to build a cross-compiler
 from x86_64-pc-linux-gnu to sh-unknown-elf.
checking for exported symbols... checking for expect... /usr/bin/expect
checking for Tcl supporting try/catch... yes
checking for -rdynamic... yes
checking for linker versioning flags... -Wl,--version-script
yes
checking for library containing dlopen... (cached) none required
checking for -fPIC -shared... configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
yes
gcc_driver_version: 13
checking for -fno-PIE option... yes
checking for -no-pie option... yes
checking for CET support... yes
checking linker -z bndplt option... no
checking linker --push-state/--pop-state options... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: creating as
config.status: creating collect-ld
config.status: creating nm
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: creating dsymutil
config.status: creating Makefile
config.status: creating ada/gcc-interface/Makefile
config.status: creating ada/Makefile
config.status: creating m2/config-make
config.status: creating m2/Make-maintainer
config.status: creating auto-host.h
config.status: executing depdir commands
mkdir -p -- .deps
config.status: executing gccdepdir commands
mkdir -p -- build/.deps
mkdir -p -- ada/.deps
mkdir -p -- c/.deps
mkdir -p -- cp/.deps
mkdir -p -- d/.deps
mkdir -p -- fortran/.deps
mkdir -p -- go/.deps
mkdir -p -- jit/.deps
mkdir -p -- lto/.deps
mkdir -p -- m2/.deps
mkdir -p -- objc/.deps
mkdir -p -- objcp/.deps
mkdir -p -- rust/.deps
mkdir -p -- c-family/.deps
mkdir -p -- common/.deps
mkdir -p -- analyzer/.deps
mkdir -p -- rtl-ssa/.deps
config.status: executing default commands
make[3]: Leaving directory '/build/reproducible-path/gcc-sh-elf-8.2/bld'
make[2]: *** [Makefile:1036: all] Error 2
make[2]: Leaving directory '/build/reproducible-path/gcc-sh-elf-8.2/bld'
make[1]: *** [debian/rules:77: override_dh_auto_build] Error 2
make[1]: Leaving directory '/build/reproducible-path/gcc-sh-elf-8.2'
make: *** [debian/rules:22: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list