openwrt/toolchain/gcc
Matthias Schiffer 18de64d87b toolchain: gcc: backport patch to fix ICE with PowerPC targets
During the build of perl, the following ICE was reported in
https://github.com/openwrt/packages/issues/24565 when targeting PowerPC:

    during RTL pass: reload
    blocksort.c: In function 'mainSort.isra':
    blocksort.c:1011:1: internal compiler error: in patch_jump_insn, at cfgrtl.cc:1303
     1011 | }
          | ^
    0x7d49cee29d8f __libc_start_call_main
            ../sysdeps/nptl/libc_start_call_main.h:58
    0x7d49cee29e3f __libc_start_main_impl
            ../csu/libc-start.c:392
    Please submit a full bug report, with preprocessed source (by using -freport-bug).
    Please include the complete backtrace with any bug report.
    See <http://bugs.openwrt.org/> for instructions.

The same issue also caused the CI failures in
https://github.com/openwrt/packages/pull/26501.

The issue only occurs with GCC 14.2.0, but not with the head of the
releases/gcc-14 maintenance branch; a bisect found that this patch fixes
it.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Link: https://github.com/openwrt/openwrt/pull/18797
Signed-off-by: Robert Marko <robimarko@gmail.com>
2025-05-14 11:23:34 +02:00
..
files do not use the wrapper scripts for exportable toolchains internally. on some systems the wrapper scripts are broken, and their use should be opt-in 2009-11-19 17:23:31 +00:00
final Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
initial Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
minimal Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
patches-11.x toolchain: gcc: Refresh patches 2025-05-03 22:04:13 +02:00
patches-12.x toolchain: gcc: Refresh patches 2025-05-03 22:04:13 +02:00
patches-13.x toolchain: gcc: Refresh patches 2025-05-03 22:04:13 +02:00
patches-14.x toolchain: gcc: backport patch to fix ICE with PowerPC targets 2025-05-14 11:23:34 +02:00
common.mk Revert "toolchain: gcc: make config consistent with glibc/musl" 2025-05-02 19:30:47 +02:00
Config.in toolchain: gcc: switch default to 14 2025-04-29 12:27:32 +02:00
Config.version toolchain: gcc: switch default to 14 2025-04-29 12:27:32 +02:00
exclude-testsuite toolchain: add gcc 7.1.0 support 2017-05-25 19:01:07 +02:00