mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
When BR2_BINUTILS_GPROFNG=y, the build currently fails with GCC 15.x, of course on architectures for which gprofng is actually available. This issue only exists in binutils 2.42 and 2.43.1, as binutils 2.44 has the necessary fixes. Therefore, this commit backports the relevant commits from binutils 2.44 to 2.43.1 and 2.42. Fixes: https://autobuild.buildroot.net/results/7cf52019f87625c73ef3c4ca0b6270e20a4ab768/ (binutils 2.42) https://autobuild.buildroot.net/results/478e24af1a03dea5ec64b77ca611b4f7225c9d39/ (binutils 2.43.1) The following defconfig, built under a Fedora 42 Docker container allows to reproduce the issue: BR2_x86_nehalem=y BR2_BINUTILS_VERSION_2_42_X=y BR2_BINUTILS_GPROFNG=y BR2_INIT_NONE=y BR2_SYSTEM_BIN_SH_NONE=y # BR2_PACKAGE_BUSYBOX is not set # BR2_TARGET_ROOTFS_TAR is not set Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Romain Naour <romain.naour@smile.fr>