gcc: update to allow compiling different versions 19140/head
authorW. Michael Petullo <mike@flyn.org>
Wed, 18 May 2022 22:06:25 +0000 (17:06 -0500)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Tue, 9 Aug 2022 21:06:39 +0000 (23:06 +0200)
commit33f72bb63e03bf558cf6bfe076d9501c4d274809
treec66b34b392c22ba86e2d638249c694fafbd451dc
parent8f2b0830c103413276db2b1208afffb938a35837
gcc: update to allow compiling different versions

This is based on the toolchain GCC, and aims to share as much of its
Makefile and patches with that definition. The package requires one
additional patch:

(1) 003-dont-choke-when-building-32bit-on-64bit.patch, which fixes the
`error: size of array 'test_real_width' is negative` error that occurs
when building a 32-bit GCC on a 64-bit host. (Search the Internet for
examples of this error appearing.)

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit ceaa6e840e0b57c1b47c784997187044e3311d23)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
[added gcc version 9.3.0, downgraded gcc to 10.2.0, removed gcc version
11.3.0 as it is now in sync with OpenWrt 21.02]
83 files changed:
devel/gcc/Makefile
devel/gcc/patches/001-revert_register_mode_search.patch [deleted file]
devel/gcc/patches/002-case_insensitive.patch [deleted file]
devel/gcc/patches/002-dont-choke-when-building-32bit-on-64bit.patch [deleted file]
devel/gcc/patches/010-documentation.patch [deleted file]
devel/gcc/patches/020-disable-check-for-sys-sdt-h.patch [deleted file]
devel/gcc/patches/10.2.0/002-case_insensitive.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/010-documentation.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/110-Fix-MIPS-PR-84790.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/230-musl_libssp.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/300-mips_Os_cpu_rtx_cost_model.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/810-arm-softfloat-libgcc.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/820-libgcc_pic.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/840-armv4_pass_fix-v4bx_to_ld.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/850-use_shared_libgcc.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/851-libgcc_no_compat.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/870-ppc_no_crtsavres.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/881-no_tm_section.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/900-bad-mips16-crt.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/910-mbsd_multi.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/920-specs_nonfatal_getenv.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/930-fix-mips-noexecstack.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/931-libffi-fix-MIPS-softfloat-build-issue.patch [new file with mode: 0644]
devel/gcc/patches/10.2.0/960-gotools-fix-compilation-when-making-cross-compiler.patch [new file with mode: 0644]
devel/gcc/patches/110-Fix-MIPS-PR-84790.patch [deleted file]
devel/gcc/patches/230-musl_libssp.patch [deleted file]
devel/gcc/patches/260-musl-add-unwind-fix.patch [deleted file]
devel/gcc/patches/300-mips_Os_cpu_rtx_cost_model.patch [deleted file]
devel/gcc/patches/8.4.0/002-case_insensitive.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/003-dont-choke-when-building-32bit-on-64bit.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/010-documentation.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/110-Fix-MIPS-PR-84790.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/230-musl_libssp.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/300-mips_Os_cpu_rtx_cost_model.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/800-arm_v5te_no_ldrd_strd.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/810-arm-softfloat-libgcc.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/820-libgcc_pic.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/840-armv4_pass_fix-v4bx_to_ld.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/850-use_shared_libgcc.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/851-libgcc_no_compat.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/870-ppc_no_crtsavres.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/881-no_tm_section.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/900-bad-mips16-crt.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/910-mbsd_multi.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/920-specs_nonfatal_getenv.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/930-fix-mips-noexecstack.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/931-libffi-fix-MIPS-softfloat-build-issue.patch [new file with mode: 0644]
devel/gcc/patches/8.4.0/960-gotools-fix-compilation-when-making-cross-compiler.patch [new file with mode: 0644]
devel/gcc/patches/800-arm_v5te_no_ldrd_strd.patch [deleted file]
devel/gcc/patches/810-arm-softfloat-libgcc.patch [deleted file]
devel/gcc/patches/820-libgcc_pic.patch [deleted file]
devel/gcc/patches/840-armv4_pass_fix-v4bx_to_ld.patch [deleted file]
devel/gcc/patches/850-use_shared_libgcc.patch [deleted file]
devel/gcc/patches/851-libgcc_no_compat.patch [deleted file]
devel/gcc/patches/870-ppc_no_crtsavres.patch [deleted file]
devel/gcc/patches/881-no_tm_section.patch [deleted file]
devel/gcc/patches/9.3.0/002-case_insensitive.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/010-documentation.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/110-Fix-MIPS-PR-84790.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/230-musl_libssp.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/300-mips_Os_cpu_rtx_cost_model.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/810-arm-softfloat-libgcc.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/820-libgcc_pic.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/840-armv4_pass_fix-v4bx_to_ld.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/850-use_shared_libgcc.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/851-libgcc_no_compat.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/870-ppc_no_crtsavres.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/881-no_tm_section.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/900-bad-mips16-crt.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/910-mbsd_multi.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/920-specs_nonfatal_getenv.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/930-fix-mips-noexecstack.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch [new file with mode: 0644]
devel/gcc/patches/9.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch [new file with mode: 0644]
devel/gcc/patches/900-bad-mips16-crt.patch [deleted file]
devel/gcc/patches/910-mbsd_multi.patch [deleted file]
devel/gcc/patches/920-specs_nonfatal_getenv.patch [deleted file]
devel/gcc/patches/930-fix-mips-noexecstack.patch [deleted file]
devel/gcc/patches/931-libffi-fix-MIPS-softfloat-build-issue.patch [deleted file]
devel/gcc/patches/940-no-clobber-stamp-bits.patch [deleted file]
devel/gcc/patches/950-cpp_file_path_translation.patch [deleted file]
devel/gcc/patches/960-gotools-fix-compilation-when-making-cross-compiler.patch [deleted file]
devel/gcc/patches/970-replace-memcpy-memset.patch [deleted file]