Hi,
arm-trusted-firmware fails to build in a test rebuild on 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 failure is due to an unused (but set) variable:
drivers/renesas/common/ddr/ddr_b/boot_init_dram.c:1777:18: error: variable ‘j’ set but not used [-Werror=unused-but-set-variable=]
1777 | uint32_t j;
| ^
The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/arm-trusted-firmware_arm64.build.xz
To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.