mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
toolchain/Config.in: add BR2_TOOLCHAIN_HAS_GCC_BUG_121567
This will be needed to work around a GCC bug affecting python3. The
bug is reported at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121567.
This bug affects GCC at least since 6.x, but we couldn't test earlier
versions, so we simply assume all GCC versions are affected. Even GCC
15.x is still affected, as reported to upstream GCC.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit 1838d8e5ea)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
83e1fd3564
commit
b6aad354dc
@@ -243,6 +243,16 @@ config BR2_TOOLCHAIN_HAS_GCC_BUG_111001
|
||||
BR2_OPTIMIZE_2 || \
|
||||
BR2_OPTIMIZE_3
|
||||
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121567
|
||||
# error: unable to find a register to spill in class ‘R0_REGS’
|
||||
# The bug exists at least since gcc 6.x, so we are assuming it affects
|
||||
# all GCC versions.
|
||||
config BR2_TOOLCHAIN_HAS_GCC_BUG_121567
|
||||
bool
|
||||
default y if BR2_sh
|
||||
depends on BR2_OPTIMIZE_2 || \
|
||||
BR2_OPTIMIZE_3
|
||||
|
||||
config BR2_TOOLCHAIN_HAS_NATIVE_RPC
|
||||
bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user