From 4122395030e3ba43411d7ca4fe89513594d95232 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 20 Sep 2021 12:35:22 +0200 Subject: [PATCH 1/4] Update linux-riscv32 Update linux-riscv32 --- linux-riscv32/Dockerfile.in | 4 +-- linux-riscv32/crosstool-ng.config | 42 ++++++++++++++++--------------- 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/linux-riscv32/Dockerfile.in b/linux-riscv32/Dockerfile.in index ce51360..b4a9f6e 100644 --- a/linux-riscv32/Dockerfile.in +++ b/linux-riscv32/Dockerfile.in @@ -3,8 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com" # Crosstool-ng version # We use a git commit while waiting for 1.25 to release (1.24 is several years old) -# crosstool-ng master 2021-08-18 -ENV CT_VERSION 358945ff2219e37d280532522d2c62309614d162 +# crosstool-ng master 2021-09-20 +ENV CT_VERSION 5f5a22f7a7307790ec571d0c5acf8790416964e6 ARG QEMU_VERSION=6.0.0 diff --git a/linux-riscv32/crosstool-ng.config b/linux-riscv32/crosstool-ng.config index 0ccfb44..e09a45b 100644 --- a/linux-riscv32/crosstool-ng.config +++ b/linux-riscv32/crosstool-ng.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# crosstool-NG 1.24.0.409_d47b234 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.409_d47b234" +CT_VERSION="1.24.0.450_5f5a22f" CT_VCHECK="" CT_CONFIG_VERSION_ENV="3" CT_CONFIG_VERSION_CURRENT="3" @@ -266,7 +265,8 @@ 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_13=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 @@ -298,7 +298,7 @@ CT_LINUX_V_5_13=y # CT_LINUX_V_3_10 is not set # CT_LINUX_V_3_4 is not set # CT_LINUX_V_3_2 is not set -CT_LINUX_VERSION="5.13.1" +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}" @@ -352,7 +352,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 @@ -363,7 +364,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}" @@ -428,12 +429,13 @@ CT_GLIBC_PATCH_GLOBAL=y # CT_GLIBC_PATCH_LOCAL_BUNDLED is not set # CT_GLIBC_PATCH_NONE is not set CT_GLIBC_PATCH_ORDER="global" -CT_GLIBC_V_2_33=y +CT_GLIBC_V_2_34=y +# CT_GLIBC_V_2_33 is not set # CT_GLIBC_V_2_32 is not set # CT_GLIBC_V_2_31 is not set # CT_GLIBC_V_2_30 is not set # CT_GLIBC_V_2_29 is not set -CT_GLIBC_VERSION="2.33" +CT_GLIBC_VERSION="2.34" CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)" CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" @@ -587,6 +589,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 @@ -643,30 +646,27 @@ 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_VERSION="9.2" +# CT_GDB_V_7_12 is not set +# CT_GDB_V_7_11 is not set +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 CT_GDB_8_0_or_later=y -CT_GDB_REQUIRE_8_0_or_later=y CT_GDB_later_than_7_12=y CT_GDB_7_12_or_later=y CT_GDB_later_than_7_2=y @@ -679,7 +679,9 @@ CT_GDB_CROSS=y # CT_GDB_CROSS_PYTHON is not set CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" # CT_GDB_NATIVE is not set -# CT_GDB_GDBSERVER is not set +CT_GDB_GDBSERVER=y +# 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 From 176bb13b94dfe8942d11eb22eb3d668d30f6ae89 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 20 Sep 2021 16:53:10 +0200 Subject: [PATCH 2/4] Fix GDB error and update config --- linux-riscv64/crosstool-ng.config | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/linux-riscv64/crosstool-ng.config b/linux-riscv64/crosstool-ng.config index ee62421..167e5b9 100644 --- a/linux-riscv64/crosstool-ng.config +++ b/linux-riscv64/crosstool-ng.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# crosstool-NG 1.24.0.409_d47b234 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.409_d47b234" +CT_VERSION="1.24.0.450_5f5a22f" CT_VCHECK="" CT_CONFIG_VERSION_ENV="3" CT_CONFIG_VERSION_CURRENT="3" @@ -266,7 +265,8 @@ 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_13=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 @@ -298,7 +298,7 @@ CT_LINUX_V_5_13=y # CT_LINUX_V_3_10 is not set # CT_LINUX_V_3_4 is not set # CT_LINUX_V_3_2 is not set -CT_LINUX_VERSION="5.13.1" +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}" @@ -352,7 +352,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 @@ -363,7 +364,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}" @@ -428,12 +429,13 @@ CT_GLIBC_PATCH_GLOBAL=y # CT_GLIBC_PATCH_LOCAL_BUNDLED is not set # CT_GLIBC_PATCH_NONE is not set CT_GLIBC_PATCH_ORDER="global" -CT_GLIBC_V_2_33=y +CT_GLIBC_V_2_34=y +# CT_GLIBC_V_2_33 is not set # CT_GLIBC_V_2_32 is not set # CT_GLIBC_V_2_31 is not set # CT_GLIBC_V_2_30 is not set # CT_GLIBC_V_2_29 is not set -CT_GLIBC_VERSION="2.33" +CT_GLIBC_VERSION="2.34" CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)" CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" @@ -587,6 +589,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 @@ -651,6 +654,7 @@ CT_GDB_PATCH_GLOBAL=y # 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 is not set CT_GDB_V_9_2=y # CT_GDB_V_8_3 is not set # CT_GDB_V_8_2 is not set @@ -662,6 +666,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_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 From 97cf02011eac7d6ca42a965e9be5248d219e8d92 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 20 Sep 2021 16:54:57 +0200 Subject: [PATCH 3/4] Revert "Fix GDB error and update config" This reverts commit 176bb13b94dfe8942d11eb22eb3d668d30f6ae89. --- linux-riscv64/crosstool-ng.config | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/linux-riscv64/crosstool-ng.config b/linux-riscv64/crosstool-ng.config index 167e5b9..ee62421 100644 --- a/linux-riscv64/crosstool-ng.config +++ b/linux-riscv64/crosstool-ng.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# crosstool-NG 1.24.0.450_5f5a22f Configuration +# crosstool-NG 1.24.0.409_d47b234 Configuration # CT_CONFIGURE_has_static_link=y CT_CONFIGURE_has_cxx11=y @@ -20,13 +20,14 @@ 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.450_5f5a22f" +CT_VERSION="1.24.0.409_d47b234" CT_VCHECK="" CT_CONFIG_VERSION_ENV="3" CT_CONFIG_VERSION_CURRENT="3" @@ -265,8 +266,7 @@ 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_14=y -# CT_LINUX_V_5_13 is not set +CT_LINUX_V_5_13=y # CT_LINUX_V_5_12 is not set # CT_LINUX_V_5_11 is not set # CT_LINUX_V_5_10 is not set @@ -298,7 +298,7 @@ CT_LINUX_V_5_14=y # CT_LINUX_V_3_10 is not set # CT_LINUX_V_3_4 is not set # CT_LINUX_V_3_2 is not set -CT_LINUX_VERSION="5.14.1" +CT_LINUX_VERSION="5.13.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}" @@ -352,8 +352,7 @@ 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_37=y -# CT_BINUTILS_V_2_36 is not set +CT_BINUTILS_V_2_36=y # CT_BINUTILS_V_2_35 is not set # CT_BINUTILS_V_2_34 is not set # CT_BINUTILS_V_2_33 is not set @@ -364,7 +363,7 @@ CT_BINUTILS_V_2_37=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.37" +CT_BINUTILS_VERSION="2.36.1" 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}" @@ -429,13 +428,12 @@ CT_GLIBC_PATCH_GLOBAL=y # CT_GLIBC_PATCH_LOCAL_BUNDLED is not set # CT_GLIBC_PATCH_NONE is not set CT_GLIBC_PATCH_ORDER="global" -CT_GLIBC_V_2_34=y -# CT_GLIBC_V_2_33 is not set +CT_GLIBC_V_2_33=y # CT_GLIBC_V_2_32 is not set # CT_GLIBC_V_2_31 is not set # CT_GLIBC_V_2_30 is not set # CT_GLIBC_V_2_29 is not set -CT_GLIBC_VERSION="2.34" +CT_GLIBC_VERSION="2.33" CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)" CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" @@ -589,7 +587,6 @@ 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 @@ -654,7 +651,6 @@ CT_GDB_PATCH_GLOBAL=y # 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 is not set CT_GDB_V_9_2=y # CT_GDB_V_8_3 is not set # CT_GDB_V_8_2 is not set @@ -666,8 +662,6 @@ 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 From f9c550bc226db740da0f4d67d24b0d7dc711b0ce Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Mon, 20 Sep 2021 16:55:59 +0200 Subject: [PATCH 4/4] Fix GDB error --- linux-riscv32/crosstool-ng.config | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/linux-riscv32/crosstool-ng.config b/linux-riscv32/crosstool-ng.config index e09a45b..a1f89ca 100644 --- a/linux-riscv32/crosstool-ng.config +++ b/linux-riscv32/crosstool-ng.config @@ -646,6 +646,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 @@ -653,20 +660,19 @@ CT_GDB_V_10_2=y # 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="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_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 CT_GDB_8_0_or_later=y +CT_GDB_REQUIRE_8_0_or_later=y CT_GDB_later_than_7_12=y CT_GDB_7_12_or_later=y CT_GDB_later_than_7_2=y @@ -681,11 +687,13 @@ 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"