gcc: synchronize with toolchain
authorW. Michael Petullo <redacted>
Tue, 2 Jun 2026 17:41:04 +0000 (12:41 -0500)
committerAlexandru Ardelean <redacted>
Wed, 3 Jun 2026 10:13:41 +0000 (13:13 +0300)
commit56964f89910d36250467b1706c5476908410b9bd
treef901ea5cb5d5be1af508e1ceb7598e4b154c7873
parenta12632f22bd46d54d11dbf2dc0d6cb9156576fa8
gcc: synchronize with toolchain

Modify the gcc package to support building 13.4.0, 14.3.0, and 15.2.0,
which are the same versions supported by the current toolchain.

Upstream list of changes can be found at:

https://gcc.gnu.org/gcc-13/changes.html
https://gcc.gnu.org/gcc-14/changes.html
https://gcc.gnu.org/gcc-15/changes.html

Signed-off-by: W. Michael Petullo <redacted>
96 files changed:
devel/gcc/Makefile
devel/gcc/patches-10.x/110-Fix-MIPS-PR-84790.patch [deleted file]
devel/gcc/patches-10.x/230-musl_libssp.patch [deleted file]
devel/gcc/patches-10.x/300-mips_Os_cpu_rtx_cost_model.patch [deleted file]
devel/gcc/patches-10.x/820-libgcc_pic.patch [deleted file]
devel/gcc/patches-10.x/850-use_shared_libgcc.patch [deleted file]
devel/gcc/patches-10.x/870-ppc_no_crtsavres.patch [deleted file]
devel/gcc/patches-10.x/881-no_tm_section.patch [deleted file]
devel/gcc/patches-10.x/900-bad-mips16-crt.patch [deleted file]
devel/gcc/patches-10.x/910-mbsd_multi.patch [deleted file]
devel/gcc/patches-10.x/920-specs_nonfatal_getenv.patch [deleted file]
devel/gcc/patches-10.x/930-fix-mips-noexecstack.patch [deleted file]
devel/gcc/patches-10.x/931-libffi-fix-MIPS-softfloat-build-issue.patch [deleted file]
devel/gcc/patches-11.x/002-case_insensitive.patch [deleted file]
devel/gcc/patches-11.x/003-dont-choke-when-building-32bit-on-64bit.patch [deleted file]
devel/gcc/patches-11.x/010-documentation.patch [deleted file]
devel/gcc/patches-11.x/011-v12-configure-define-TARGET_LIBC_GNUSTACK-on-musl.patch [deleted file]
devel/gcc/patches-11.x/110-Fix-MIPS-PR-84790.patch [deleted file]
devel/gcc/patches-11.x/230-musl_libssp.patch [deleted file]
devel/gcc/patches-11.x/300-mips_Os_cpu_rtx_cost_model.patch [deleted file]
devel/gcc/patches-11.x/810-arm-softfloat-libgcc.patch [deleted file]
devel/gcc/patches-11.x/840-armv4_pass_fix-v4bx_to_ld.patch [deleted file]
devel/gcc/patches-11.x/850-use_shared_libgcc.patch [deleted file]
devel/gcc/patches-11.x/851-libgcc_no_compat.patch [deleted file]
devel/gcc/patches-11.x/870-ppc_no_crtsavres.patch [deleted file]
devel/gcc/patches-11.x/881-no_tm_section.patch [deleted file]
devel/gcc/patches-11.x/900-bad-mips16-crt.patch [deleted file]
devel/gcc/patches-11.x/910-mbsd_multi.patch [deleted file]
devel/gcc/patches-11.x/920-specs_nonfatal_getenv.patch [deleted file]
devel/gcc/patches-11.x/931-libffi-fix-MIPS-softfloat-build-issue.patch [deleted file]
devel/gcc/patches-11.x/960-gotools-fix-compilation-when-making-cross-compiler.patch [deleted file]
devel/gcc/patches-11.x/970-macos_arm64-building-fix.patch [deleted file]
devel/gcc/patches-12.x/002-case_insensitive.patch [deleted file]
devel/gcc/patches-12.x/003-dont-choke-when-building-32bit-on-64bit.patch [deleted file]
devel/gcc/patches-12.x/010-documentation.patch [deleted file]
devel/gcc/patches-12.x/110-Fix-MIPS-PR-84790.patch [deleted file]
devel/gcc/patches-12.x/700-RISCV-Inline-subword-atomic-ops.patch [deleted file]
devel/gcc/patches-12.x/701-riscv-linux-Don-t-add-latomic-with-pthread.patch [deleted file]
devel/gcc/patches-12.x/810-arm-softfloat-libgcc.patch [deleted file]
devel/gcc/patches-12.x/820-libgcc_pic.patch [deleted file]
devel/gcc/patches-12.x/840-armv4_pass_fix-v4bx_to_ld.patch [deleted file]
devel/gcc/patches-12.x/850-use_shared_libgcc.patch [deleted file]
devel/gcc/patches-12.x/851-libgcc_no_compat.patch [deleted file]
devel/gcc/patches-12.x/881-no_tm_section.patch [deleted file]
devel/gcc/patches-12.x/960-gotools-fix-compilation-when-making-cross-compiler.patch [deleted file]
devel/gcc/patches-13.x/003-dont-choke-when-building-32bit-on-64bit.patch [deleted file]
devel/gcc/patches-13.x/010-documentation.patch
devel/gcc/patches-13.x/110-Fix-MIPS-PR-84790.patch [deleted file]
devel/gcc/patches-13.x/230-musl_libssp.patch
devel/gcc/patches-13.x/300-mips_Os_cpu_rtx_cost_model.patch
devel/gcc/patches-13.x/800-arm_v5te_no_ldrd_strd.patch [moved from devel/gcc/patches-8.x/800-arm_v5te_no_ldrd_strd.patch with 71% similarity]
devel/gcc/patches-13.x/881-no_tm_section.patch [deleted file]
devel/gcc/patches-13.x/920-specs_nonfatal_getenv.patch
devel/gcc/patches-13.x/980-fix-build-error-with-Xcode-16.3.patch [new file with mode: 0644]
devel/gcc/patches-14.x/004-libcody-Make-it-buildable-by-C-11-to-C-26.patch [new file with mode: 0644]
devel/gcc/patches-14.x/005-include-memory.patch [new file with mode: 0644]
devel/gcc/patches-14.x/800-arm_v5te_no_ldrd_strd.patch [new file with mode: 0644]
devel/gcc/patches-14.x/881-no_tm_section.patch [deleted file]
devel/gcc/patches-15.x/002-case_insensitive.patch [moved from devel/gcc/patches-10.x/002-case_insensitive.patch with 100% similarity]
devel/gcc/patches-15.x/003-dont-choke-when-building-32bit-on-64bit.patch [moved from devel/gcc/patches-10.x/003-dont-choke-when-building-32bit-on-64bit.patch with 100% similarity]
devel/gcc/patches-15.x/004-libcody-Make-it-buildable-by-C-11-to-C-26.patch [new file with mode: 0644]
devel/gcc/patches-15.x/010-documentation.patch [moved from devel/gcc/patches-10.x/010-documentation.patch with 94% similarity]
devel/gcc/patches-15.x/230-musl_libssp.patch [moved from devel/gcc/patches-12.x/230-musl_libssp.patch with 85% similarity]
devel/gcc/patches-15.x/300-mips_Os_cpu_rtx_cost_model.patch [moved from devel/gcc/patches-12.x/300-mips_Os_cpu_rtx_cost_model.patch with 91% similarity]
devel/gcc/patches-15.x/800-arm_v5te_no_ldrd_strd.patch [new file with mode: 0644]
devel/gcc/patches-15.x/810-arm-softfloat-libgcc.patch [moved from devel/gcc/patches-10.x/810-arm-softfloat-libgcc.patch with 100% similarity]
devel/gcc/patches-15.x/820-libgcc_pic.patch [moved from devel/gcc/patches-11.x/820-libgcc_pic.patch with 90% similarity]
devel/gcc/patches-15.x/830-aarch64-libatomic.patch [new file with mode: 0644]
devel/gcc/patches-15.x/840-armv4_pass_fix-v4bx_to_ld.patch [moved from devel/gcc/patches-10.x/840-armv4_pass_fix-v4bx_to_ld.patch with 100% similarity]
devel/gcc/patches-15.x/850-use_shared_libgcc.patch [moved from devel/gcc/patches-8.x/850-use_shared_libgcc.patch with 90% similarity]
devel/gcc/patches-15.x/851-libgcc_no_compat.patch [moved from devel/gcc/patches-10.x/851-libgcc_no_compat.patch with 100% similarity]
devel/gcc/patches-15.x/870-ppc_no_crtsavres.patch [moved from devel/gcc/patches-12.x/870-ppc_no_crtsavres.patch with 85% similarity]
devel/gcc/patches-15.x/900-bad-mips16-crt.patch [moved from devel/gcc/patches-12.x/900-bad-mips16-crt.patch with 84% similarity]
devel/gcc/patches-15.x/910-mbsd_multi.patch [moved from devel/gcc/patches-12.x/910-mbsd_multi.patch with 85% similarity]
devel/gcc/patches-15.x/920-specs_nonfatal_getenv.patch [moved from devel/gcc/patches-12.x/920-specs_nonfatal_getenv.patch with 90% similarity]
devel/gcc/patches-15.x/960-gotools-fix-compilation-when-making-cross-compiler.patch [moved from devel/gcc/patches-10.x/960-gotools-fix-compilation-when-making-cross-compiler.patch with 100% similarity]
devel/gcc/patches-15.x/970-macos_arm64-building-fix.patch [moved from devel/gcc/patches-12.x/970-macos_arm64-building-fix.patch with 84% similarity]
devel/gcc/patches-15.x/980-fix-build-error-with-Xcode-16.3.patch [new file with mode: 0644]
devel/gcc/patches-8.x/002-case_insensitive.patch [deleted file]
devel/gcc/patches-8.x/003-dont-choke-when-building-32bit-on-64bit.patch [deleted file]
devel/gcc/patches-8.x/010-documentation.patch [deleted file]
devel/gcc/patches-8.x/110-Fix-MIPS-PR-84790.patch [deleted file]
devel/gcc/patches-8.x/230-musl_libssp.patch [deleted file]
devel/gcc/patches-8.x/300-mips_Os_cpu_rtx_cost_model.patch [deleted file]
devel/gcc/patches-8.x/810-arm-softfloat-libgcc.patch [deleted file]
devel/gcc/patches-8.x/820-libgcc_pic.patch [deleted file]
devel/gcc/patches-8.x/840-armv4_pass_fix-v4bx_to_ld.patch [deleted file]
devel/gcc/patches-8.x/851-libgcc_no_compat.patch [deleted file]
devel/gcc/patches-8.x/870-ppc_no_crtsavres.patch [deleted file]
devel/gcc/patches-8.x/881-no_tm_section.patch [deleted file]
devel/gcc/patches-8.x/900-bad-mips16-crt.patch [deleted file]
devel/gcc/patches-8.x/910-mbsd_multi.patch [deleted file]
devel/gcc/patches-8.x/920-specs_nonfatal_getenv.patch [deleted file]
devel/gcc/patches-8.x/930-fix-mips-noexecstack.patch [deleted file]
devel/gcc/patches-8.x/931-libffi-fix-MIPS-softfloat-build-issue.patch [deleted file]
devel/gcc/patches-8.x/960-gotools-fix-compilation-when-making-cross-compiler.patch [deleted file]
git clone https://git.99rst.org/PROJECT