Skip to content

Commit 3a8ea38

Browse files
committed
fix GCC 12.4 for sh, msp430 and c6x
newlib has a new config item in ct-ng that's required. refs compiler-explorer/compiler-explorer#6597 Signed-off-by: Marc Poulhiès <[email protected]>
1 parent e9f3389 commit 3a8ea38

File tree

3 files changed

+136
-78
lines changed

3 files changed

+136
-78
lines changed

build/latest/c6x-12.4.0.config

+46-26
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
#
22
# Automatically generated file; DO NOT EDIT.
3-
# crosstool-NG 1.25.0.162_c116c9a Configuration
3+
# crosstool-NG 1.26.0.90_7898024_dirty Configuration
44
#
55
CT_CONFIGURE_has_static_link=y
66
CT_CONFIGURE_has_cxx11=y
77
CT_CONFIGURE_has_lzip=y
88
CT_CONFIGURE_has_wget=y
99
CT_CONFIGURE_has_curl=y
10+
CT_CONFIGURE_has_meson=y
1011
CT_CONFIGURE_has_ninja=y
11-
CT_CONFIGURE_has_rsync=y
1212
CT_CONFIGURE_has_make_3_81_or_newer=y
1313
CT_CONFIGURE_has_make_4_0_or_newer=y
1414
CT_CONFIGURE_has_libtool_2_4_or_newer=y
1515
CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
16-
CT_CONFIGURE_has_autoconf_2_71_or_newer=y
17-
CT_CONFIGURE_has_autoreconf_2_71_or_newer=y
18-
CT_CONFIGURE_has_automake_1_16_or_newer=y
16+
CT_CONFIGURE_has_autoconf_2_65_or_newer=y
17+
CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
18+
CT_CONFIGURE_has_automake_1_15_or_newer=y
1919
CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
2020
CT_CONFIGURE_has_python_3_4_or_newer=y
2121
CT_CONFIGURE_has_bison_2_7_or_newer=y
@@ -29,7 +29,7 @@ CT_CONFIGURE_has_sha1sum=y
2929
CT_CONFIGURE_has_sha256sum=y
3030
CT_CONFIGURE_has_sha512sum=y
3131
CT_CONFIGURE_has_install_with_strip_program=y
32-
CT_VERSION="1.25.0.162_c116c9a"
32+
CT_VERSION="1.26.0.90_7898024_dirty"
3333
CT_VCHECK=""
3434
CT_CONFIG_VERSION_ENV="4"
3535
CT_CONFIG_VERSION_CURRENT="4"
@@ -149,6 +149,7 @@ CT_ARCH_C6X=y
149149
# CT_ARCH_MOXIE is not set
150150
# CT_ARCH_MSP430 is not set
151151
# CT_ARCH_NIOS2 is not set
152+
# CT_ARCH_PARISC is not set
152153
# CT_ARCH_POWERPC is not set
153154
# CT_ARCH_PRU is not set
154155
# CT_ARCH_RISCV is not set
@@ -166,7 +167,7 @@ CT_ARCH_C6X_SHOW=y
166167
# Options for c6x
167168
#
168169
CT_ARCH_C6X_PKG_KSYM=""
169-
CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR BPF C6X LOONGARCH M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 POWERPC PRU RISCV S390 SH SPARC X86 XTENSA"
170+
CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR BPF C6X LOONGARCH M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 PARISC POWERPC PRU RISCV S390 SH SPARC X86 XTENSA"
170171
CT_ARCH_SUFFIX=""
171172
CT_OMIT_TARGET_VENDOR=y
172173

@@ -290,6 +291,8 @@ CT_BINUTILS_PATCH_GLOBAL=y
290291
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
291292
# CT_BINUTILS_PATCH_NONE is not set
292293
CT_BINUTILS_PATCH_ORDER="global"
294+
# CT_BINUTILS_V_2_42 is not set
295+
# CT_BINUTILS_V_2_41 is not set
293296
# CT_BINUTILS_V_2_40 is not set
294297
CT_BINUTILS_V_2_39=y
295298
# CT_BINUTILS_V_2_38 is not set
@@ -338,6 +341,7 @@ CT_ALL_BINUTILS_CHOICES="BINUTILS"
338341
#
339342
CT_LIBC_NEWLIB=y
340343
# CT_LIBC_NONE is not set
344+
# CT_LIBC_PICOLIBC is not set
341345
CT_LIBC="newlib"
342346
CT_LIBC_CHOICE_KSYM="NEWLIB"
343347
CT_THREADS="none"
@@ -359,13 +363,10 @@ CT_NEWLIB_PATCH_GLOBAL=y
359363
# CT_NEWLIB_PATCH_LOCAL_BUNDLED is not set
360364
# CT_NEWLIB_PATCH_NONE is not set
361365
CT_NEWLIB_PATCH_ORDER="global"
362-
CT_NEWLIB_V_4_1=y
363-
# CT_NEWLIB_V_3_3 is not set
364-
# CT_NEWLIB_V_3_2 is not set
365-
# CT_NEWLIB_V_3_1 is not set
366-
# CT_NEWLIB_V_3_0 is not set
367-
# CT_NEWLIB_V_2_5 is not set
368-
CT_NEWLIB_VERSION="4.1.0"
366+
CT_NEWLIB_V_4_4=y
367+
# CT_NEWLIB_V_4_3 is not set
368+
# CT_NEWLIB_V_4_2 is not set
369+
CT_NEWLIB_VERSION="4.4.0.20231231"
369370
CT_NEWLIB_MIRRORS="https://sourceware.org/pub/newlib"
370371
CT_NEWLIB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
371372
CT_NEWLIB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
@@ -382,7 +383,7 @@ CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION=y
382383
# CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS is not set
383384
# CT_LIBC_NEWLIB_REGISTER_FINI is not set
384385
CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=y
385-
# CT_LIBC_NEWLIB_GLOBAL_ATEXIT is not set
386+
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
386387
# CT_LIBC_NEWLIB_LITE_EXIT is not set
387388
# CT_LIBC_NEWLIB_REENT_SMALL is not set
388389
CT_LIBC_NEWLIB_MULTITHREAD=y
@@ -452,6 +453,8 @@ CT_GCC_PATCH_GLOBAL=y
452453
# CT_GCC_PATCH_NONE is not set
453454
CT_GCC_PATCH_ORDER="global"
454455
# CT_GCC_VERY_NEW is not set
456+
# CT_GCC_V_14 is not set
457+
# CT_GCC_V_13 is not set
455458
CT_GCC_V_12=y
456459
# CT_GCC_V_11 is not set
457460
# CT_GCC_V_10 is not set
@@ -461,12 +464,16 @@ CT_GCC_V_12=y
461464
# CT_GCC_V_6 is not set
462465
# CT_GCC_V_5 is not set
463466
# CT_GCC_V_4_9 is not set
464-
CT_GCC_VERSION="12.2.0"
467+
CT_GCC_VERSION="12.3.0"
465468
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
466469
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
467470
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
468471
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
469472
CT_GCC_SIGNATURE_FORMAT=""
473+
CT_GCC_14_or_older=y
474+
CT_GCC_older_than_14=y
475+
CT_GCC_13_or_older=y
476+
CT_GCC_older_than_13=y
470477
CT_GCC_later_than_12=y
471478
CT_GCC_12_or_later=y
472479
CT_GCC_later_than_11=y
@@ -537,9 +544,22 @@ CT_ALL_CC_CHOICES="GCC"
537544
CT_CC_LANG_CXX=y
538545
# CT_CC_LANG_FORTRAN is not set
539546
# CT_CC_LANG_JIT is not set
547+
# CT_CC_LANG_ADA is not set
548+
# CT_CC_LANG_D is not set
540549
CT_CC_LANG_OTHERS=""
541550
# end of C compiler
542551

552+
#
553+
# Linkers
554+
#
555+
556+
#
557+
# BFD enabled in binutils
558+
#
559+
# CT_LINKER_MOLD is not set
560+
CT_ALL_LINKER_CHOICES="MOLD"
561+
# end of Linkers
562+
543563
#
544564
# Debug facilities
545565
#
@@ -630,11 +650,9 @@ CT_MPC_PATCH_GLOBAL=y
630650
# CT_MPC_PATCH_LOCAL_BUNDLED is not set
631651
# CT_MPC_PATCH_NONE is not set
632652
CT_MPC_PATCH_ORDER="global"
633-
CT_MPC_V_1_2=y
634-
# CT_MPC_V_1_1 is not set
635-
# CT_MPC_V_1_0 is not set
636-
CT_MPC_VERSION="1.2.1"
637-
CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
653+
CT_MPC_V_1_3=y
654+
CT_MPC_VERSION="1.3.1"
655+
CT_MPC_MIRRORS="https://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
638656
CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
639657
CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
640658
CT_MPC_ARCHIVE_FORMATS=".tar.gz"
@@ -655,11 +673,9 @@ CT_MPFR_PATCH_GLOBAL=y
655673
# CT_MPFR_PATCH_LOCAL_BUNDLED is not set
656674
# CT_MPFR_PATCH_NONE is not set
657675
CT_MPFR_PATCH_ORDER="global"
658-
CT_MPFR_V_4_1=y
659-
# CT_MPFR_V_4_0 is not set
660-
# CT_MPFR_V_3_1 is not set
661-
CT_MPFR_VERSION="4.1.0"
662-
CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
676+
CT_MPFR_V_4_2=y
677+
CT_MPFR_VERSION="4.2.1"
678+
CT_MPFR_MIRRORS="https://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
663679
CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
664680
CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
665681
CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
@@ -668,6 +684,7 @@ CT_MPFR_later_than_4_0_0=y
668684
CT_MPFR_4_0_0_or_later=y
669685
# CT_COMP_LIBS_NCURSES is not set
670686
# CT_COMP_LIBS_NEWLIB_NANO is not set
687+
# CT_COMP_LIBS_PICOLIBC is not set
671688
CT_COMP_LIBS_ZLIB=y
672689
CT_COMP_LIBS_ZLIB_PKG_KSYM="ZLIB"
673690
CT_ZLIB_DIR_NAME="zlib"
@@ -682,6 +699,7 @@ CT_ZLIB_PATCH_GLOBAL=y
682699
# CT_ZLIB_PATCH_LOCAL_BUNDLED is not set
683700
# CT_ZLIB_PATCH_NONE is not set
684701
CT_ZLIB_PATCH_ORDER="global"
702+
# CT_ZLIB_V_1_3 is not set
685703
CT_ZLIB_V_1_2_13=y
686704
CT_ZLIB_VERSION="1.2.13"
687705
CT_ZLIB_MIRRORS="https://github.com/madler/zlib/releases/download/v${CT_ZLIB_VERSION} https://www.zlib.net/"
@@ -703,6 +721,8 @@ CT_ZSTD_PATCH_GLOBAL=y
703721
# CT_ZSTD_PATCH_LOCAL_BUNDLED is not set
704722
# CT_ZSTD_PATCH_NONE is not set
705723
CT_ZSTD_PATCH_ORDER="global"
724+
# CT_ZSTD_V_1_5_6 is not set
725+
# CT_ZSTD_V_1_5_5 is not set
706726
CT_ZSTD_V_1_5_2=y
707727
CT_ZSTD_VERSION="1.5.2"
708728
CT_ZSTD_MIRRORS="https://github.com/facebook/zstd/releases/download/v${CT_ZSTD_VERSION} https://www.zstd.net/"

0 commit comments

Comments
 (0)