Skip to content

Commit

Permalink
fix GCC 12.4 for sh, msp430 and c6x
Browse files Browse the repository at this point in the history
newlib has a new config item in ct-ng that's required.

refs compiler-explorer/compiler-explorer#6597

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
  • Loading branch information
dkm committed Jun 21, 2024
1 parent e9f3389 commit 3a8ea38
Show file tree
Hide file tree
Showing 3 changed files with 136 additions and 78 deletions.
72 changes: 46 additions & 26 deletions build/latest/c6x-12.4.0.config
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
#
# Automatically generated file; DO NOT EDIT.
# crosstool-NG 1.25.0.162_c116c9a Configuration
# crosstool-NG 1.26.0.90_7898024_dirty Configuration
#
CT_CONFIGURE_has_static_link=y
CT_CONFIGURE_has_cxx11=y
CT_CONFIGURE_has_lzip=y
CT_CONFIGURE_has_wget=y
CT_CONFIGURE_has_curl=y
CT_CONFIGURE_has_meson=y
CT_CONFIGURE_has_ninja=y
CT_CONFIGURE_has_rsync=y
CT_CONFIGURE_has_make_3_81_or_newer=y
CT_CONFIGURE_has_make_4_0_or_newer=y
CT_CONFIGURE_has_libtool_2_4_or_newer=y
CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
CT_CONFIGURE_has_autoconf_2_71_or_newer=y
CT_CONFIGURE_has_autoreconf_2_71_or_newer=y
CT_CONFIGURE_has_automake_1_16_or_newer=y
CT_CONFIGURE_has_autoconf_2_65_or_newer=y
CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
CT_CONFIGURE_has_automake_1_15_or_newer=y
CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
CT_CONFIGURE_has_python_3_4_or_newer=y
CT_CONFIGURE_has_bison_2_7_or_newer=y
Expand All @@ -29,7 +29,7 @@ CT_CONFIGURE_has_sha1sum=y
CT_CONFIGURE_has_sha256sum=y
CT_CONFIGURE_has_sha512sum=y
CT_CONFIGURE_has_install_with_strip_program=y
CT_VERSION="1.25.0.162_c116c9a"
CT_VERSION="1.26.0.90_7898024_dirty"
CT_VCHECK=""
CT_CONFIG_VERSION_ENV="4"
CT_CONFIG_VERSION_CURRENT="4"
Expand Down Expand Up @@ -149,6 +149,7 @@ CT_ARCH_C6X=y
# CT_ARCH_MOXIE is not set
# CT_ARCH_MSP430 is not set
# CT_ARCH_NIOS2 is not set
# CT_ARCH_PARISC is not set
# CT_ARCH_POWERPC is not set
# CT_ARCH_PRU is not set
# CT_ARCH_RISCV is not set
Expand All @@ -166,7 +167,7 @@ CT_ARCH_C6X_SHOW=y
# Options for c6x
#
CT_ARCH_C6X_PKG_KSYM=""
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"
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"
CT_ARCH_SUFFIX=""
CT_OMIT_TARGET_VENDOR=y

Expand Down Expand Up @@ -290,6 +291,8 @@ CT_BINUTILS_PATCH_GLOBAL=y
# CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set
# CT_BINUTILS_PATCH_NONE is not set
CT_BINUTILS_PATCH_ORDER="global"
# CT_BINUTILS_V_2_42 is not set
# CT_BINUTILS_V_2_41 is not set
# CT_BINUTILS_V_2_40 is not set
CT_BINUTILS_V_2_39=y
# CT_BINUTILS_V_2_38 is not set
Expand Down Expand Up @@ -338,6 +341,7 @@ CT_ALL_BINUTILS_CHOICES="BINUTILS"
#
CT_LIBC_NEWLIB=y
# CT_LIBC_NONE is not set
# CT_LIBC_PICOLIBC is not set
CT_LIBC="newlib"
CT_LIBC_CHOICE_KSYM="NEWLIB"
CT_THREADS="none"
Expand All @@ -359,13 +363,10 @@ CT_NEWLIB_PATCH_GLOBAL=y
# CT_NEWLIB_PATCH_LOCAL_BUNDLED is not set
# CT_NEWLIB_PATCH_NONE is not set
CT_NEWLIB_PATCH_ORDER="global"
CT_NEWLIB_V_4_1=y
# CT_NEWLIB_V_3_3 is not set
# CT_NEWLIB_V_3_2 is not set
# CT_NEWLIB_V_3_1 is not set
# CT_NEWLIB_V_3_0 is not set
# CT_NEWLIB_V_2_5 is not set
CT_NEWLIB_VERSION="4.1.0"
CT_NEWLIB_V_4_4=y
# CT_NEWLIB_V_4_3 is not set
# CT_NEWLIB_V_4_2 is not set
CT_NEWLIB_VERSION="4.4.0.20231231"
CT_NEWLIB_MIRRORS="https://sourceware.org/pub/newlib"
CT_NEWLIB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_NEWLIB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
Expand All @@ -382,7 +383,7 @@ CT_LIBC_NEWLIB_FSEEK_OPTIMIZATION=y
# CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS is not set
# CT_LIBC_NEWLIB_REGISTER_FINI is not set
CT_LIBC_NEWLIB_ATEXIT_DYNAMIC_ALLOC=y
# CT_LIBC_NEWLIB_GLOBAL_ATEXIT is not set
CT_LIBC_NEWLIB_GLOBAL_ATEXIT=y
# CT_LIBC_NEWLIB_LITE_EXIT is not set
# CT_LIBC_NEWLIB_REENT_SMALL is not set
CT_LIBC_NEWLIB_MULTITHREAD=y
Expand Down Expand Up @@ -452,6 +453,8 @@ CT_GCC_PATCH_GLOBAL=y
# CT_GCC_PATCH_NONE is not set
CT_GCC_PATCH_ORDER="global"
# CT_GCC_VERY_NEW is not set
# CT_GCC_V_14 is not set
# CT_GCC_V_13 is not set
CT_GCC_V_12=y
# CT_GCC_V_11 is not set
# CT_GCC_V_10 is not set
Expand All @@ -461,12 +464,16 @@ CT_GCC_V_12=y
# CT_GCC_V_6 is not set
# CT_GCC_V_5 is not set
# CT_GCC_V_4_9 is not set
CT_GCC_VERSION="12.2.0"
CT_GCC_VERSION="12.3.0"
CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
CT_GCC_SIGNATURE_FORMAT=""
CT_GCC_14_or_older=y
CT_GCC_older_than_14=y
CT_GCC_13_or_older=y
CT_GCC_older_than_13=y
CT_GCC_later_than_12=y
CT_GCC_12_or_later=y
CT_GCC_later_than_11=y
Expand Down Expand Up @@ -537,9 +544,22 @@ CT_ALL_CC_CHOICES="GCC"
CT_CC_LANG_CXX=y
# CT_CC_LANG_FORTRAN is not set
# CT_CC_LANG_JIT is not set
# CT_CC_LANG_ADA is not set
# CT_CC_LANG_D is not set
CT_CC_LANG_OTHERS=""
# end of C compiler

#
# Linkers
#

#
# BFD enabled in binutils
#
# CT_LINKER_MOLD is not set
CT_ALL_LINKER_CHOICES="MOLD"
# end of Linkers

#
# Debug facilities
#
Expand Down Expand Up @@ -630,11 +650,9 @@ CT_MPC_PATCH_GLOBAL=y
# CT_MPC_PATCH_LOCAL_BUNDLED is not set
# CT_MPC_PATCH_NONE is not set
CT_MPC_PATCH_ORDER="global"
CT_MPC_V_1_2=y
# CT_MPC_V_1_1 is not set
# CT_MPC_V_1_0 is not set
CT_MPC_VERSION="1.2.1"
CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
CT_MPC_V_1_3=y
CT_MPC_VERSION="1.3.1"
CT_MPC_MIRRORS="https://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MPC_ARCHIVE_FORMATS=".tar.gz"
Expand All @@ -655,11 +673,9 @@ CT_MPFR_PATCH_GLOBAL=y
# CT_MPFR_PATCH_LOCAL_BUNDLED is not set
# CT_MPFR_PATCH_NONE is not set
CT_MPFR_PATCH_ORDER="global"
CT_MPFR_V_4_1=y
# CT_MPFR_V_4_0 is not set
# CT_MPFR_V_3_1 is not set
CT_MPFR_VERSION="4.1.0"
CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
CT_MPFR_V_4_2=y
CT_MPFR_VERSION="4.2.1"
CT_MPFR_MIRRORS="https://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
Expand All @@ -668,6 +684,7 @@ CT_MPFR_later_than_4_0_0=y
CT_MPFR_4_0_0_or_later=y
# CT_COMP_LIBS_NCURSES is not set
# CT_COMP_LIBS_NEWLIB_NANO is not set
# CT_COMP_LIBS_PICOLIBC is not set
CT_COMP_LIBS_ZLIB=y
CT_COMP_LIBS_ZLIB_PKG_KSYM="ZLIB"
CT_ZLIB_DIR_NAME="zlib"
Expand All @@ -682,6 +699,7 @@ CT_ZLIB_PATCH_GLOBAL=y
# CT_ZLIB_PATCH_LOCAL_BUNDLED is not set
# CT_ZLIB_PATCH_NONE is not set
CT_ZLIB_PATCH_ORDER="global"
# CT_ZLIB_V_1_3 is not set
CT_ZLIB_V_1_2_13=y
CT_ZLIB_VERSION="1.2.13"
CT_ZLIB_MIRRORS="https://github.com/madler/zlib/releases/download/v${CT_ZLIB_VERSION} https://www.zlib.net/"
Expand All @@ -703,6 +721,8 @@ CT_ZSTD_PATCH_GLOBAL=y
# CT_ZSTD_PATCH_LOCAL_BUNDLED is not set
# CT_ZSTD_PATCH_NONE is not set
CT_ZSTD_PATCH_ORDER="global"
# CT_ZSTD_V_1_5_6 is not set
# CT_ZSTD_V_1_5_5 is not set
CT_ZSTD_V_1_5_2=y
CT_ZSTD_VERSION="1.5.2"
CT_ZSTD_MIRRORS="https://github.com/facebook/zstd/releases/download/v${CT_ZSTD_VERSION} https://www.zstd.net/"
Expand Down
Loading

0 comments on commit 3a8ea38

Please sign in to comment.