From 127c7a427614eeabd7804e06da9fa5b458e8bec4 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 20 Sep 2021 11:28:03 +0200 Subject: [PATCH 1/2] Update linux-armv5-musl Update linux-armv5-musl --- linux-armv5-musl/Dockerfile.in | 4 +- linux-armv5-musl/crosstool-ng.config | 110 ++++++--------------------- 2 files changed, 24 insertions(+), 90 deletions(-) diff --git a/linux-armv5-musl/Dockerfile.in b/linux-armv5-musl/Dockerfile.in index 5928f16..abced9f 100755 --- a/linux-armv5-musl/Dockerfile.in +++ b/linux-armv5-musl/Dockerfile.in @@ -6,8 +6,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com" # musleabi as default glibc # We use a git commit while waiting for 1.25 to release (1.24 is several years old) -# crosstool-ng master 2021-08-04 -ENV CT_VERSION d47b234152980a09196355b77a12cb425f3f1d2e +# crosstool-ng master 2021-09-20 +ENV CT_VERSION 5f5a22f7a7307790ec571d0c5acf8790416964e6 #include "common.crosstool" diff --git a/linux-armv5-musl/crosstool-ng.config b/linux-armv5-musl/crosstool-ng.config index 421edb6..8efd48a 100755 --- a/linux-armv5-musl/crosstool-ng.config +++ b/linux-armv5-musl/crosstool-ng.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# crosstool-NG 1.24.0.385_9e10cb6 Configuration +# crosstool-NG 1.24.0.450_5f5a22f Configuration # CT_CONFIGURE_has_static_link=y CT_CONFIGURE_has_cxx11=y @@ -20,14 +20,13 @@ CT_CONFIGURE_has_python_3_4_or_newer=y CT_CONFIGURE_has_bison_2_7_or_newer=y CT_CONFIGURE_has_python=y CT_CONFIGURE_has_dtc=y -CT_CONFIGURE_has_cvs=y CT_CONFIGURE_has_git=y CT_CONFIGURE_has_md5sum=y 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.24.0.385_9e10cb6" +CT_VERSION="1.24.0.450_5f5a22f" CT_VCHECK="" CT_CONFIG_VERSION_ENV="3" CT_CONFIG_VERSION_CURRENT="3" @@ -103,6 +102,7 @@ CT_PARALLEL_JOBS=0 CT_LOAD="" CT_USE_PIPES=y CT_EXTRA_CFLAGS_FOR_BUILD="" +CT_EXTRA_CXXFLAGS_FOR_BUILD="" CT_EXTRA_LDFLAGS_FOR_BUILD="" CT_EXTRA_CFLAGS_FOR_HOST="" CT_EXTRA_LDFLAGS_FOR_HOST="" @@ -288,7 +288,9 @@ CT_LINUX_PATCH_GLOBAL=y # CT_LINUX_PATCH_LOCAL_BUNDLED is not set # CT_LINUX_PATCH_NONE is not set CT_LINUX_PATCH_ORDER="global" -CT_LINUX_V_5_12=y +CT_LINUX_V_5_14=y +# CT_LINUX_V_5_13 is not set +# CT_LINUX_V_5_12 is not set # CT_LINUX_V_5_11 is not set # CT_LINUX_V_5_10 is not set # CT_LINUX_V_5_9 is not set @@ -320,7 +322,7 @@ CT_LINUX_V_5_12=y # CT_LINUX_V_3_4 is not set # CT_LINUX_V_3_2 is not set # CT_LINUX_V_2_6_32 is not set -CT_LINUX_VERSION="5.12.12" +CT_LINUX_VERSION="5.14.1" CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})" CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" @@ -373,7 +375,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_36=y +CT_BINUTILS_V_2_37=y +# CT_BINUTILS_V_2_36 is not set # CT_BINUTILS_V_2_35 is not set # CT_BINUTILS_V_2_34 is not set # CT_BINUTILS_V_2_33 is not set @@ -384,7 +387,7 @@ CT_BINUTILS_V_2_36=y # CT_BINUTILS_V_2_28 is not set # CT_BINUTILS_V_2_27 is not set # CT_BINUTILS_V_2_26 is not set -CT_BINUTILS_VERSION="2.36.1" +CT_BINUTILS_VERSION="2.37" CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)" CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" @@ -537,7 +540,7 @@ CT_GCC_V_11=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="11.1.0" +CT_GCC_VERSION="11.2.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}" @@ -576,6 +579,7 @@ CT_CC_GCC_CONFIG_TLS=m # CT_CC_GCC_USE_GRAPHITE=y CT_CC_GCC_USE_LTO=y +CT_CC_GCC_LTO_ZSTD=m # # Settings for libraries running on target @@ -622,29 +626,7 @@ CT_CC_LANG_OTHERS="" # # Debug facilities # -CT_DEBUG_DUMA=y -CT_DEBUG_DUMA_PKG_KSYM="DUMA" -CT_DUMA_DIR_NAME="duma" -CT_DUMA_PKG_NAME="duma" -CT_DUMA_SRC_RELEASE=y -# CT_DUMA_SRC_DEVEL is not set -# CT_DUMA_SRC_CUSTOM is not set -CT_DUMA_PATCH_GLOBAL=y -# CT_DUMA_PATCH_BUNDLED is not set -# CT_DUMA_PATCH_LOCAL is not set -# CT_DUMA_PATCH_BUNDLED_LOCAL is not set -# CT_DUMA_PATCH_LOCAL_BUNDLED is not set -# CT_DUMA_PATCH_NONE is not set -CT_DUMA_PATCH_ORDER="global" -CT_DUMA_V_2_5_15=y -CT_DUMA_VERSION="2_5_15" -CT_DUMA_MIRRORS="http://downloads.sourceforge.net/project/duma/duma/${CT_DUMA_VERSION//_/.}" -CT_DUMA_ARCHIVE_FILENAME="@{pkg_name}_@{version}" -CT_DUMA_ARCHIVE_DIRNAME="@{pkg_name}_@{version}" -CT_DUMA_ARCHIVE_FORMATS=".tar.gz .zip" -CT_DUMA_SIGNATURE_FORMAT="" -CT_DUMA_SO=y -CT_DUMA_CUSTOM_WRAPPER=y +# CT_DEBUG_DUMA is not set CT_DEBUG_GDB=y CT_DEBUG_GDB_PKG_KSYM="GDB" CT_GDB_DIR_NAME="gdb" @@ -653,27 +635,23 @@ CT_GDB_USE="GDB" CT_GDB_PKG_NAME="gdb" CT_GDB_SRC_RELEASE=y # CT_GDB_SRC_DEVEL is not set -# CT_GDB_SRC_CUSTOM is not set -CT_GDB_PATCH_GLOBAL=y -# CT_GDB_PATCH_BUNDLED is not set -# CT_GDB_PATCH_LOCAL is not set -# CT_GDB_PATCH_BUNDLED_LOCAL is not set -# CT_GDB_PATCH_LOCAL_BUNDLED is not set -# CT_GDB_PATCH_NONE is not set CT_GDB_PATCH_ORDER="global" -CT_GDB_V_9_2=y +CT_GDB_V_10_2=y +# CT_GDB_V_9_2 is not set # CT_GDB_V_8_3 is not set # CT_GDB_V_8_2 is not set # CT_GDB_V_8_1 is not set # CT_GDB_V_8_0 is not set # CT_GDB_V_7_12 is not set # CT_GDB_V_7_11 is not set -CT_GDB_VERSION="9.2" +CT_GDB_VERSION="10.2" CT_GDB_MIRRORS="$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)" CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" CT_GDB_SIGNATURE_FORMAT="" +CT_GDB_10_2_or_older=y +CT_GDB_older_than_10_2=y CT_GDB_later_than_8_3=y CT_GDB_8_3_or_later=y CT_GDB_later_than_8_0=y @@ -687,62 +665,18 @@ CT_GDB_7_0_or_later=y CT_GDB_CROSS=y # CT_GDB_CROSS_STATIC is not set # CT_GDB_CROSS_SIM is not set -CT_GDB_CROSS_PYTHON=y -CT_GDB_CROSS_PYTHON_BINARY="" +# CT_GDB_CROSS_PYTHON is not set CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" -CT_GDB_NATIVE=y +# CT_GDB_NATIVE is not set CT_GDB_GDBSERVER=y -# CT_GDB_NATIVE_STATIC is not set +# CT_GDB_NATIVE_BUILD_IPA_LIB is not set # CT_GDB_NATIVE_STATIC_LIBSTDCXX is not set CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PYTHON=y CT_GDB_INSTALL_GDBINIT=y CT_GDB_HAS_IPA_LIB=y # CT_DEBUG_LTRACE is not set -CT_DEBUG_STRACE=y -CT_DEBUG_STRACE_PKG_KSYM="STRACE" -CT_STRACE_DIR_NAME="strace" -CT_STRACE_PKG_NAME="strace" -CT_STRACE_SRC_RELEASE=y -# CT_STRACE_SRC_DEVEL is not set -# CT_STRACE_SRC_CUSTOM is not set -CT_STRACE_PATCH_GLOBAL=y -# CT_STRACE_PATCH_BUNDLED is not set -# CT_STRACE_PATCH_LOCAL is not set -# CT_STRACE_PATCH_BUNDLED_LOCAL is not set -# CT_STRACE_PATCH_LOCAL_BUNDLED is not set -# CT_STRACE_PATCH_NONE is not set -CT_STRACE_PATCH_ORDER="global" -CT_STRACE_V_5_11=y -# CT_STRACE_V_5_10 is not set -# CT_STRACE_V_5_9 is not set -# CT_STRACE_V_5_8 is not set -# CT_STRACE_V_5_7 is not set -# CT_STRACE_V_5_6 is not set -# CT_STRACE_V_5_5 is not set -# CT_STRACE_V_5_4 is not set -# CT_STRACE_V_5_3 is not set -# CT_STRACE_V_5_2 is not set -# CT_STRACE_V_5_1 is not set -# CT_STRACE_V_5_0 is not set -# CT_STRACE_V_4_26 is not set -# CT_STRACE_V_4_25 is not set -# CT_STRACE_V_4_24 is not set -# CT_STRACE_V_4_23 is not set -# CT_STRACE_V_4_22 is not set -# CT_STRACE_V_4_21 is not set -# CT_STRACE_V_4_20 is not set -# CT_STRACE_V_4_19 is not set -# CT_STRACE_V_4_18 is not set -# CT_STRACE_V_4_17 is not set -# CT_STRACE_V_4_16 is not set -# CT_STRACE_V_4_15 is not set -CT_STRACE_VERSION="5.11" -CT_STRACE_MIRRORS="https://strace.io/files/${CT_STRACE_VERSION} https://github.com/strace/strace/releases/download/v${CT_STRACE_VERSION}" -CT_STRACE_ARCHIVE_FILENAME="@{pkg_name}-@{version}" -CT_STRACE_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" -CT_STRACE_ARCHIVE_FORMATS=".tar.xz" -CT_STRACE_SIGNATURE_FORMAT="" +# CT_DEBUG_STRACE is not set CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE" # end of Debug facilities From 7ad4c685d37eac03d8ed4eb6c53113c2673856cf Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 20 Sep 2021 16:49:47 +0200 Subject: [PATCH 2/2] Fix GDB error --- linux-armv5-musl/crosstool-ng.config | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/linux-armv5-musl/crosstool-ng.config b/linux-armv5-musl/crosstool-ng.config index 8efd48a..6f9e69c 100755 --- a/linux-armv5-musl/crosstool-ng.config +++ b/linux-armv5-musl/crosstool-ng.config @@ -635,6 +635,13 @@ CT_GDB_USE="GDB" CT_GDB_PKG_NAME="gdb" CT_GDB_SRC_RELEASE=y # CT_GDB_SRC_DEVEL is not set +# CT_GDB_SRC_CUSTOM is not set +CT_GDB_PATCH_GLOBAL=y +# CT_GDB_PATCH_BUNDLED is not set +# CT_GDB_PATCH_LOCAL is not set +# CT_GDB_PATCH_BUNDLED_LOCAL is not set +# CT_GDB_PATCH_LOCAL_BUNDLED is not set +# CT_GDB_PATCH_NONE is not set CT_GDB_PATCH_ORDER="global" CT_GDB_V_10_2=y # CT_GDB_V_9_2 is not set @@ -650,8 +657,8 @@ CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" CT_GDB_SIGNATURE_FORMAT="" +CT_GDB_10_2_or_later=y CT_GDB_10_2_or_older=y -CT_GDB_older_than_10_2=y CT_GDB_later_than_8_3=y CT_GDB_8_3_or_later=y CT_GDB_later_than_8_0=y @@ -669,12 +676,13 @@ CT_GDB_CROSS=y CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" # CT_GDB_NATIVE is not set CT_GDB_GDBSERVER=y -# CT_GDB_NATIVE_BUILD_IPA_LIB is not set +# CT_GDB_NATIVE_STATIC is not set # CT_GDB_NATIVE_STATIC_LIBSTDCXX is not set CT_GDB_HAS_PKGVERSION_BUGURL=y CT_GDB_HAS_PYTHON=y CT_GDB_INSTALL_GDBINIT=y CT_GDB_HAS_IPA_LIB=y +CT_GDB_GDBSERVER_TOPLEVEL=y # CT_DEBUG_LTRACE is not set # CT_DEBUG_STRACE is not set CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE" @@ -890,9 +898,7 @@ CT_MPFR_NEEDED=y CT_ISL_NEEDED=y CT_MPC_NEEDED=y CT_EXPAT_NEEDED=y -CT_EXPAT_TARGET=y CT_NCURSES_NEEDED=y -CT_NCURSES_TARGET=y CT_ZLIB_NEEDED=y CT_GMP=y CT_MPFR=y