summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/continuous-integration-workflow.yml79
-rwxr-xr-xbootstrap4
-rw-r--r--configure.ac2
-rw-r--r--packages/binutils/2.23.2/0016-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.25.1/0023-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.26.1/0013-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.27/0012-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.28.1/0009-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.29.1/0009-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.30/0009-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.31.1/0012-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/binutils/2.32/0009-Fix-a-missing-include-of-string.patch26
-rw-r--r--packages/expat/package.desc2
-rw-r--r--packages/gcc/8.4.0/0000-libtool-leave-framework-alone.patch (renamed from packages/gcc/8.4.0/8.3.0/0000-libtool-leave-framework-alone.patch)0
-rw-r--r--packages/gcc/8.4.0/0001-uclibc-conf.patch (renamed from packages/gcc/8.4.0/8.3.0/0001-uclibc-conf.patch)0
-rw-r--r--packages/gcc/8.4.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch (renamed from packages/gcc/8.4.0/8.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch)0
-rw-r--r--packages/gcc/8.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch (renamed from packages/gcc/8.4.0/8.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch)0
-rw-r--r--packages/gcc/8.4.0/0004-arm-softfloat-libgcc.patch (renamed from packages/gcc/8.4.0/8.3.0/0004-arm-softfloat-libgcc.patch)0
-rw-r--r--packages/gcc/8.4.0/0005-fix-m68k-uclinux.patch (renamed from packages/gcc/8.4.0/8.3.0/0005-fix-m68k-uclinux.patch)0
-rw-r--r--packages/gcc/8.4.0/0006-libgfortran-missing-include.patch (renamed from packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch)0
-rw-r--r--packages/gcc/8.4.0/0007-nios2-bad-multilib-default.patch (renamed from packages/gcc/8.4.0/8.3.0/0007-nios2-bad-multilib-default.patch)0
-rw-r--r--packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch (renamed from packages/gcc/8.4.0/8.3.0/0008-libgcc-disable-split-stack-nothreads.patch)0
-rw-r--r--packages/gcc/8.4.0/0009-bionic-ndk.patch (renamed from packages/gcc/8.4.0/8.3.0/0009-bionic-ndk.patch)0
-rw-r--r--packages/gcc/8.4.0/0010-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0010-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0011-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0011-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0012-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0012-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0013-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0013-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0014-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0014-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0015-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0015-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0016-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0016-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0017-crystax.patch (renamed from packages/gcc/8.4.0/8.3.0/0017-crystax.patch)0
-rw-r--r--packages/gcc/8.4.0/0018-ARC-Add-multilib-support-for-linux-targets.patch (renamed from packages/gcc/8.4.0/8.3.0/0018-ARC-Add-multilib-support-for-linux-targets.patch)0
-rw-r--r--packages/gcc/8.4.0/0019-isl-0.20.patch (renamed from packages/gcc/8.4.0/8.3.0/0019-isl-0.20.patch)0
-rw-r--r--packages/gcc/8.4.0/0020-ARM-fix-cmse.patch (renamed from packages/gcc/8.4.0/8.3.0/0020-ARM-fix-cmse.patch)0
-rw-r--r--packages/gcc/8.4.0/0021-arm-Make-arm_cmse.h-C99-compatible.patch (renamed from packages/gcc/8.4.0/8.3.0/0021-arm-Make-arm_cmse.h-C99-compatible.patch)0
-rw-r--r--packages/gcc/8.4.0/0022-ARC-Update-fma-expansions.patch (renamed from packages/gcc/8.4.0/8.3.0/0022-ARC-Update-fma-expansions.patch)0
-rw-r--r--packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch17
-rw-r--r--packages/glibc/2.12.1/0044-new-tools.patch4
-rw-r--r--packages/glibc/2.12.2/0007-new-tools.patch4
-rw-r--r--packages/glibc/2.13/0043-new-tools.patch4
-rw-r--r--packages/glibc/2.14.1/0043-new-tools.patch4
-rw-r--r--packages/glibc/2.15/0044-new-tools.patch4
-rw-r--r--packages/glibc/2.16.0/0042-fix-GCC-10-detection.patch25
-rw-r--r--packages/glibc/2.17/0018-fix-GCC-10-detection.patch25
-rw-r--r--packages/glibc/2.18/0019-fix-GCC-10-detection.patch25
-rw-r--r--packages/glibc/2.19/0017-fix-GCC-10-detection.patch25
-rw-r--r--packages/glibc/2.20/0017-fix-GCC-10-detection.patch25
-rw-r--r--packages/glibc/package.desc2
-rw-r--r--packages/libelf/package.desc2
-rw-r--r--samples/mips64-unknown-linux-gnu/crosstool.config7
-rw-r--r--samples/mips64-unknown-linux-gnu/reported.by3
-rw-r--r--testing/docker/alpine3.8/Dockerfile2
-rw-r--r--testing/docker/archlinux/Dockerfile2
-rw-r--r--testing/docker/centos6/Dockerfile2
-rw-r--r--testing/docker/centos7/Dockerfile2
-rw-r--r--testing/docker/fedora29/Dockerfile2
-rw-r--r--testing/docker/mint19-amd64/Dockerfile2
-rw-r--r--testing/docker/ubuntu16.04/Dockerfile2
-rw-r--r--testing/docker/ubuntu18.04/Dockerfile2
60 files changed, 515 insertions, 24 deletions
diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml
new file mode 100644
index 0000000..97df813
--- /dev/null
+++ b/.github/workflows/continuous-integration-workflow.yml
@@ -0,0 +1,79 @@
+name: CI
+
+on:
+ push:
+ pull_request:
+
+jobs:
+ crosstool:
+ runs-on: ubuntu-latest
+ steps:
+ - name: "clone"
+ uses: actions/checkout@v2
+ - name: "prereq"
+ run: |
+ sudo apt-get install -y gperf help2man libtool-bin
+ - name: "build ct-ng"
+ run: |
+ ./bootstrap
+ ./configure --prefix=$PWD/.local/
+ make
+ make install
+ tar -cf ct-ng.tar .local/
+ - name: "upload ct-ng"
+ uses: actions/upload-artifact@v2
+ with:
+ name: crosstool
+ path: ct-ng.tar
+ - name: "upload config.log"
+ uses: actions/upload-artifact@v2
+ with:
+ name: config.log
+ path: config.log
+ if: ${{ always() }}
+
+ toolchains:
+ needs: crosstool
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ sample: [
+ "arm-unknown-linux-gnueabi",
+ "aarch64-unknown-linux-gnu",
+ "mips-unknown-elf",
+ "powerpc64-unknown-linux-gnu",
+ "powerpc-unknown-linux-gnu",
+ "x86_64-multilib-linux-uclibc"
+ ]
+ steps:
+ - name: "download ct-ng"
+ uses: actions/download-artifact@v2
+ with:
+ name: crosstool
+ - name: "extract ct-ng"
+ run: |
+ tar -xf ct-ng.tar
+ - name: "prereq"
+ run: |
+ sudo apt-get install -y gperf help2man libtool-bin
+ echo "::add-path::$GITHUB_WORKSPACE/.local/bin"
+ - name: "build ${{ matrix.sample }}"
+ run: |
+ mkdir -p src
+ ct-ng ${{ matrix.sample }}
+ sed -i -e '/CT_LOG_PROGRESS_BAR/s/y$/n/' .config
+ sed -i -e '/CT_LOCAL_TARBALLS_DIR/s/HOME/CT_TOP_DIR/' .config
+ sed -i -e '/CT_PREFIX_DIR/s/HOME/CT_TOP_DIR/' .config
+ sed -i -e '/CT_LOG_EXTRA/d' .config
+ sed -i -e '/CT_LOG_LEVEL_MAX/d' .config
+ echo 'CT_LOG_ALL=y' >>.config
+ echo 'CT_LOG_LEVEL_MAX="ALL"' >>.config
+ ct-ng build
+ - name: "upload log"
+ uses: actions/upload-artifact@v2
+ with:
+ name: "${{ matrix.sample }}.log"
+ path: |
+ build.log
+ .config
+ if: ${{ always() }}
diff --git a/bootstrap b/bootstrap
index 6c3d6ae..46d6205 100755
--- a/bootstrap
+++ b/bootstrap
@@ -801,7 +801,7 @@ msg "*** Gathering the list of data files to install"
scripts/compile | scripts/missing | scripts/depcomp | scripts/ltmain.sh | scripts/install-sh)
continue
;;
- #
+ #
# will produce. FIXME: create this file at the time of 'ct-ng build'.
config/configure.in.in | config/configure.in)
continue
@@ -818,6 +818,6 @@ msg "*** Gathering the list of data files to install"
} > verbatim-data.mk
msg "*** Running autoreconf"
-autoreconf -Wall --force
+autoreconf -Wall --force -I m4
msg "*** Done!"
diff --git a/configure.ac b/configure.ac
index ae4a027..096ebb7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -287,7 +287,7 @@ AC_FUNC_REALLOC
AC_FUNC_ALLOCA
AM_GNU_GETTEXT([external])
-AM_GNU_GETTEXT_VERSION([0.19.8])
+AM_GNU_GETTEXT_VERSION([0.19.7])
# For now, curses are needed to build kconfig. We may support a command-line
# only configuration without curses later. For now, fail in configure but
diff --git a/packages/binutils/2.23.2/0016-Fix-a-missing-include-of-string.patch b/packages/binutils/2.23.2/0016-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.23.2/0016-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch b/packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.24/0025-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.25.1/0023-Fix-a-missing-include-of-string.patch b/packages/binutils/2.25.1/0023-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.25.1/0023-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.26.1/0013-Fix-a-missing-include-of-string.patch b/packages/binutils/2.26.1/0013-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.26.1/0013-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.27/0012-Fix-a-missing-include-of-string.patch b/packages/binutils/2.27/0012-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.27/0012-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.28.1/0009-Fix-a-missing-include-of-string.patch b/packages/binutils/2.28.1/0009-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.28.1/0009-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.29.1/0009-Fix-a-missing-include-of-string.patch b/packages/binutils/2.29.1/0009-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.29.1/0009-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.30/0009-Fix-a-missing-include-of-string.patch b/packages/binutils/2.30/0009-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.30/0009-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.31.1/0012-Fix-a-missing-include-of-string.patch b/packages/binutils/2.31.1/0012-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.31.1/0012-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/binutils/2.32/0009-Fix-a-missing-include-of-string.patch b/packages/binutils/2.32/0009-Fix-a-missing-include-of-string.patch
new file mode 100644
index 0000000..b04033a
--- /dev/null
+++ b/packages/binutils/2.32/0009-Fix-a-missing-include-of-string.patch
@@ -0,0 +1,26 @@
+From 23272f9927dc95c0cf6f7c5aabcc0551eca572c5 Mon Sep 17 00:00:00 2001
+From: Martin Liska <mliska@suse.cz>
+Date: Fri, 7 Jun 2019 07:36:52 +0200
+Subject: [PATCH] Fix a missing include of <string>
+
+gold/ChangeLog:
+
+2019-06-07 Martin Liska <mliska@suse.cz>
+
+ * errors.h: Include string.
+---
+ gold/errors.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/gold/errors.h b/gold/errors.h
+index 1e61c8dbb5..805b25fc9c 100644
+--- a/gold/errors.h
++++ b/gold/errors.h
+@@ -24,6 +24,7 @@
+ #define GOLD_ERRORS_H
+
+ #include <cstdarg>
++#include <string>
+
+ #include "gold-threads.h"
+
diff --git a/packages/expat/package.desc b/packages/expat/package.desc
index 14c197d..84dba8f 100644
--- a/packages/expat/package.desc
+++ b/packages/expat/package.desc
@@ -1,6 +1,6 @@
repository='git https://github.com/libexpat/libexpat.git'
repository_subdir='expat'
bootstrap='./buildconf.sh && make -C doc all'
-mirrors='http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION}'
+mirrors='http://downloads.sourceforge.net/project/expat/expat/${CT_EXPAT_VERSION} https://github.com/libexpat/libexpat/releases/download/R_${CT_EXPAT_VERSION//./_}'
archive_formats='.tar.xz .tar.lz .tar.bz2 .tar.gz'
relevantpattern='*.*|.'
diff --git a/packages/gcc/8.4.0/8.3.0/0000-libtool-leave-framework-alone.patch b/packages/gcc/8.4.0/0000-libtool-leave-framework-alone.patch
index 1a86e41..1a86e41 100644
--- a/packages/gcc/8.4.0/8.3.0/0000-libtool-leave-framework-alone.patch
+++ b/packages/gcc/8.4.0/0000-libtool-leave-framework-alone.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0001-uclibc-conf.patch b/packages/gcc/8.4.0/0001-uclibc-conf.patch
index aef750a..aef750a 100644
--- a/packages/gcc/8.4.0/8.3.0/0001-uclibc-conf.patch
+++ b/packages/gcc/8.4.0/0001-uclibc-conf.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch b/packages/gcc/8.4.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
index 20a88df..20a88df 100644
--- a/packages/gcc/8.4.0/8.3.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
+++ b/packages/gcc/8.4.0/0002-gcc-plugin-Win-Dont-need-undefined-extern-var-refs-nor-fpic.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch b/packages/gcc/8.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
index 5f9a07a..5f9a07a 100644
--- a/packages/gcc/8.4.0/8.3.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
+++ b/packages/gcc/8.4.0/0003-gcc-plugin-POSIX-include-sys-select-h.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0004-arm-softfloat-libgcc.patch b/packages/gcc/8.4.0/0004-arm-softfloat-libgcc.patch
index d980036..d980036 100644
--- a/packages/gcc/8.4.0/8.3.0/0004-arm-softfloat-libgcc.patch
+++ b/packages/gcc/8.4.0/0004-arm-softfloat-libgcc.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0005-fix-m68k-uclinux.patch b/packages/gcc/8.4.0/0005-fix-m68k-uclinux.patch
index 02b53bd..02b53bd 100644
--- a/packages/gcc/8.4.0/8.3.0/0005-fix-m68k-uclinux.patch
+++ b/packages/gcc/8.4.0/0005-fix-m68k-uclinux.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch b/packages/gcc/8.4.0/0006-libgfortran-missing-include.patch
index 6e2e4e4..6e2e4e4 100644
--- a/packages/gcc/8.4.0/8.3.0/0006-libgfortran-missing-include.patch
+++ b/packages/gcc/8.4.0/0006-libgfortran-missing-include.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0007-nios2-bad-multilib-default.patch b/packages/gcc/8.4.0/0007-nios2-bad-multilib-default.patch
index 4acc491..4acc491 100644
--- a/packages/gcc/8.4.0/8.3.0/0007-nios2-bad-multilib-default.patch
+++ b/packages/gcc/8.4.0/0007-nios2-bad-multilib-default.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0008-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch
index df91a9f..df91a9f 100644
--- a/packages/gcc/8.4.0/8.3.0/0008-libgcc-disable-split-stack-nothreads.patch
+++ b/packages/gcc/8.4.0/0008-libgcc-disable-split-stack-nothreads.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0009-bionic-ndk.patch b/packages/gcc/8.4.0/0009-bionic-ndk.patch
index 474dd8c..474dd8c 100644
--- a/packages/gcc/8.4.0/8.3.0/0009-bionic-ndk.patch
+++ b/packages/gcc/8.4.0/0009-bionic-ndk.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0010-crystax.patch b/packages/gcc/8.4.0/0010-crystax.patch
index 0e3e95c..0e3e95c 100644
--- a/packages/gcc/8.4.0/8.3.0/0010-crystax.patch
+++ b/packages/gcc/8.4.0/0010-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0011-crystax.patch b/packages/gcc/8.4.0/0011-crystax.patch
index f1f9eb1..f1f9eb1 100644
--- a/packages/gcc/8.4.0/8.3.0/0011-crystax.patch
+++ b/packages/gcc/8.4.0/0011-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0012-crystax.patch b/packages/gcc/8.4.0/0012-crystax.patch
index 2bf6cc7..2bf6cc7 100644
--- a/packages/gcc/8.4.0/8.3.0/0012-crystax.patch
+++ b/packages/gcc/8.4.0/0012-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0013-crystax.patch b/packages/gcc/8.4.0/0013-crystax.patch
index 3454df0..3454df0 100644
--- a/packages/gcc/8.4.0/8.3.0/0013-crystax.patch
+++ b/packages/gcc/8.4.0/0013-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0014-crystax.patch b/packages/gcc/8.4.0/0014-crystax.patch
index 8f2eb43..8f2eb43 100644
--- a/packages/gcc/8.4.0/8.3.0/0014-crystax.patch
+++ b/packages/gcc/8.4.0/0014-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0015-crystax.patch b/packages/gcc/8.4.0/0015-crystax.patch
index 2424d2b..2424d2b 100644
--- a/packages/gcc/8.4.0/8.3.0/0015-crystax.patch
+++ b/packages/gcc/8.4.0/0015-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0016-crystax.patch b/packages/gcc/8.4.0/0016-crystax.patch
index 8c21a1c..8c21a1c 100644
--- a/packages/gcc/8.4.0/8.3.0/0016-crystax.patch
+++ b/packages/gcc/8.4.0/0016-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0017-crystax.patch b/packages/gcc/8.4.0/0017-crystax.patch
index ccb81fd..ccb81fd 100644
--- a/packages/gcc/8.4.0/8.3.0/0017-crystax.patch
+++ b/packages/gcc/8.4.0/0017-crystax.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0018-ARC-Add-multilib-support-for-linux-targets.patch b/packages/gcc/8.4.0/0018-ARC-Add-multilib-support-for-linux-targets.patch
index 6c0ff27..6c0ff27 100644
--- a/packages/gcc/8.4.0/8.3.0/0018-ARC-Add-multilib-support-for-linux-targets.patch
+++ b/packages/gcc/8.4.0/0018-ARC-Add-multilib-support-for-linux-targets.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0019-isl-0.20.patch b/packages/gcc/8.4.0/0019-isl-0.20.patch
index 3e14966..3e14966 100644
--- a/packages/gcc/8.4.0/8.3.0/0019-isl-0.20.patch
+++ b/packages/gcc/8.4.0/0019-isl-0.20.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0020-ARM-fix-cmse.patch b/packages/gcc/8.4.0/0020-ARM-fix-cmse.patch
index cf2d243..cf2d243 100644
--- a/packages/gcc/8.4.0/8.3.0/0020-ARM-fix-cmse.patch
+++ b/packages/gcc/8.4.0/0020-ARM-fix-cmse.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0021-arm-Make-arm_cmse.h-C99-compatible.patch b/packages/gcc/8.4.0/0021-arm-Make-arm_cmse.h-C99-compatible.patch
index afdc1a5..afdc1a5 100644
--- a/packages/gcc/8.4.0/8.3.0/0021-arm-Make-arm_cmse.h-C99-compatible.patch
+++ b/packages/gcc/8.4.0/0021-arm-Make-arm_cmse.h-C99-compatible.patch
diff --git a/packages/gcc/8.4.0/8.3.0/0022-ARC-Update-fma-expansions.patch b/packages/gcc/8.4.0/0022-ARC-Update-fma-expansions.patch
index c2680d5..c2680d5 100644
--- a/packages/gcc/8.4.0/8.3.0/0022-ARC-Update-fma-expansions.patch
+++ b/packages/gcc/8.4.0/0022-ARC-Update-fma-expansions.patch
diff --git a/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch b/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch
new file mode 100644
index 0000000..9456dbb
--- /dev/null
+++ b/packages/gdb/8.2.1/0005-musl-aarch64-sigcontext.patch
@@ -0,0 +1,17 @@
+---
+ gdb/nat/aarch64-sve-linux-ptrace.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h
+index 029e753ffe..172ae39432 100644
+--- a/gdb/nat/aarch64-sve-linux-ptrace.h
++++ b/gdb/nat/aarch64-sve-linux-ptrace.h
+@@ -20,7 +20,7 @@
+ #ifndef AARCH64_SVE_LINUX_PTRACE_H
+ #define AARCH64_SVE_LINUX_PTRACE_H
+
+-#include <asm/sigcontext.h>
++#include <signal.h>
+ #include <sys/utsname.h>
+ #include <sys/ptrace.h>
+ #include <asm/ptrace.h>
diff --git a/packages/glibc/2.12.1/0044-new-tools.patch b/packages/glibc/2.12.1/0044-new-tools.patch
index 2ff427e..cfa03b0 100644
--- a/packages/glibc/2.12.1/0044-new-tools.patch
+++ b/packages/glibc/2.12.1/0044-new-tools.patch
@@ -10,7 +10,7 @@
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 3.4* | 4.[0-9]* )
-+ 3.4* | [4-9].* )
++ 3.4* | [4-9].* | [1-9][0-9]* )
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -48,7 +48,7 @@
AC_CHECK_TOOL_PREFIX
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
- [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
-+ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* ],
++ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* | [1-9][0-9].* ],
critic_missing="$critic_missing gcc")
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
diff --git a/packages/glibc/2.12.2/0007-new-tools.patch b/packages/glibc/2.12.2/0007-new-tools.patch
index 816a01c..693c9a1 100644
--- a/packages/glibc/2.12.2/0007-new-tools.patch
+++ b/packages/glibc/2.12.2/0007-new-tools.patch
@@ -10,7 +10,7 @@
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 3.4* | 4.[0-9]* )
-+ 3.4* | [4-9].* )
++ 3.4* | [4-9].* | [1-9][0-9]* )
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -48,7 +48,7 @@
AC_CHECK_TOOL_PREFIX
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
- [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
-+ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* ],
++ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* | [1-9][0-9].* ],
critic_missing="$critic_missing gcc")
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
diff --git a/packages/glibc/2.13/0043-new-tools.patch b/packages/glibc/2.13/0043-new-tools.patch
index 4408ffe..9f71001 100644
--- a/packages/glibc/2.13/0043-new-tools.patch
+++ b/packages/glibc/2.13/0043-new-tools.patch
@@ -10,7 +10,7 @@
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 3.4* | 4.[0-9]* )
-+ 3.4* | [4-9].* )
++ 3.4* | [4-9].* | [1-9][0-9]* )
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -48,7 +48,7 @@
AC_CHECK_TOOL_PREFIX
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
- [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
-+ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* ],
++ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* | [1-9][0-9].* ],
critic_missing="$critic_missing gcc")
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
diff --git a/packages/glibc/2.14.1/0043-new-tools.patch b/packages/glibc/2.14.1/0043-new-tools.patch
index 2d89a0f..38dcdc8 100644
--- a/packages/glibc/2.14.1/0043-new-tools.patch
+++ b/packages/glibc/2.14.1/0043-new-tools.patch
@@ -10,7 +10,7 @@
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 3.4* | 4.[0-9]* )
-+ 3.4* | [4-9].* )
++ 3.4* | [4-9].* | [1-9][0-9]* )
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -48,7 +48,7 @@
AC_CHECK_TOOL_PREFIX
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
- [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
-+ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* ],
++ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* | [1-9][0-9].* ],
critic_missing="$critic_missing gcc")
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
diff --git a/packages/glibc/2.15/0044-new-tools.patch b/packages/glibc/2.15/0044-new-tools.patch
index 5cd3398..d08d873 100644
--- a/packages/glibc/2.15/0044-new-tools.patch
+++ b/packages/glibc/2.15/0044-new-tools.patch
@@ -10,7 +10,7 @@
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 3.4* | 4.[0-9]* )
-+ 3.4* | [4-9].* )
++ 3.4* | [4-9].* | [1-9][0-9]* )
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -48,7 +48,7 @@
AC_CHECK_TOOL_PREFIX
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
- [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
-+ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* ],
++ [version \([egcygnustpi-]*[0-9.]*\)], [3.4* | [4-9].* | [1-9][0-9].* ],
critic_missing="$critic_missing gcc")
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
diff --git a/packages/glibc/2.16.0/0042-fix-GCC-10-detection.patch b/packages/glibc/2.16.0/0042-fix-GCC-10-detection.patch
new file mode 100644
index 0000000..4d55ff3
--- /dev/null
+++ b/packages/glibc/2.16.0/0042-fix-GCC-10-detection.patch
@@ -0,0 +1,25 @@
+From 01e89232ac76b66e2bba2ec84d7f86e86f04ae64 Mon Sep 17 00:00:00 2001
+From: Jakub Labenski <kuba@parasoft.com>
+Date: Fri, 5 Jun 2020 09:11:40 +0200
+Subject: [PATCH] Fix GCC 10+ detection
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index aa7869ff17..2a513eae65 100755
+--- a/configure
++++ b/configure
+@@ -4782,7 +4782,7 @@ $as_echo_n "checking version of $CC... " >&6; }
+ ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+- 4.[3-9].* | 4.[1-9][0-9].* | [5-9].* )
++ 4.[3-9].* | 4.[1-9][0-9].* | [5-9].* | [1-9][0-9].* )
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+
+--
+2.25.1
+
diff --git a/packages/glibc/2.17/0018-fix-GCC-10-detection.patch b/packages/glibc/2.17/0018-fix-GCC-10-detection.patch
new file mode 100644
index 0000000..b522ae7
--- /dev/null
+++ b/packages/glibc/2.17/0018-fix-GCC-10-detection.patch
@@ -0,0 +1,25 @@
+From 760445cabb52d131b88fd81a1c1385f6b6eb1bec Mon Sep 17 00:00:00 2001
+From: Jakub Labenski <kuba@parasoft.com>
+Date: Fri, 5 Jun 2020 09:11:40 +0200
+Subject: [PATCH] Fix GCC 10+ detection
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 8799b7de78..0f99f04bfc 100755
+--- a/configure
++++ b/configure
+@@ -4909,7 +4909,7 @@ $as_echo_n "checking version of $CC... " >&6; }
+ ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+- 4.[3-9].* | 4.[1-9][0-9].* | [5-9].* )
++ 4.[3-9].* | 4.[1-9][0-9].* | [5-9].* | [1-9][0-9].* )
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+
+--
+2.25.1
+
diff --git a/packages/glibc/2.18/0019-fix-GCC-10-detection.patch b/packages/glibc/2.18/0019-fix-GCC-10-detection.patch
new file mode 100644
index 0000000..32f4a17
--- /dev/null
+++ b/packages/glibc/2.18/0019-fix-GCC-10-detection.patch
@@ -0,0 +1,25 @@
+From 3b16131609b2edbf29194532c089079a8d2664b1 Mon Sep 17 00:00:00 2001
+From: Jakub Labenski <kuba@parasoft.com>
+Date: Fri, 5 Jun 2020 09:11:40 +0200
+Subject: [PATCH] Fix GCC 10+ detection
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 1ee4c42003..4e1d1fa8a0 100755
+--- a/configure
++++ b/configure
+@@ -4709,7 +4709,7 @@ $as_echo_n "checking version of $CC... " >&6; }
+ ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+- 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* )
++ 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* | [1-9][0-9].* )
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+
+--
+2.25.1
+
diff --git a/packages/glibc/2.19/0017-fix-GCC-10-detection.patch b/packages/glibc/2.19/0017-fix-GCC-10-detection.patch
new file mode 100644
index 0000000..1fe4ee8
--- /dev/null
+++ b/packages/glibc/2.19/0017-fix-GCC-10-detection.patch
@@ -0,0 +1,25 @@
+From 0db03b80d05d059c2f98cc9fc28cce90095d0876 Mon Sep 17 00:00:00 2001
+From: Jakub Labenski <kuba@parasoft.com>
+Date: Fri, 5 Jun 2020 09:11:40 +0200
+Subject: [PATCH] Fix GCC 10+ detection
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index fc023d0c70..b201f71b4b 100755
+--- a/configure
++++ b/configure
+@@ -4710,7 +4710,7 @@ $as_echo_n "checking version of $CC... " >&6; }
+ ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+- 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* )
++ 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* | [1-9][0-9].* )
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+
+--
+2.25.1
+
diff --git a/packages/glibc/2.20/0017-fix-GCC-10-detection.patch b/packages/glibc/2.20/0017-fix-GCC-10-detection.patch
new file mode 100644
index 0000000..c2afc77
--- /dev/null
+++ b/packages/glibc/2.20/0017-fix-GCC-10-detection.patch
@@ -0,0 +1,25 @@
+From 0991846fc6d5d0ef3800391bd29f2759780a3041 Mon Sep 17 00:00:00 2001
+From: Jakub Labenski <kuba@parasoft.com>
+Date: Fri, 5 Jun 2020 09:11:40 +0200
+Subject: [PATCH] Fix GCC 10+ detection
+
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 86ba30774b..b22ad9cb07 100755
+--- a/configure
++++ b/configure
+@@ -4661,7 +4661,7 @@ $as_echo_n "checking version of $CC... " >&6; }
+ ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
+ case $ac_prog_version in
+ '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
+- 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* )
++ 4.[4-9].* | 4.[1-9][0-9].* | [5-9].* | [1-9][0-9].* )
+ ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
+ *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
+
+--
+2.25.1
+
diff --git a/packages/glibc/package.desc b/packages/glibc/package.desc
index 6b722a7..eba5f00 100644
--- a/packages/glibc/package.desc
+++ b/packages/glibc/package.desc
@@ -1,7 +1,7 @@
origin='GNU'
repository='git git://sourceware.org/git/glibc.git'
mirrors='$(CT_Mirrors GNU glibc)'
-# Cannot use MAJOR.MINOR as the releant part because of 2.12: 2.12.2 was the most recent
+# Cannot use MAJOR.MINOR as the relevant part because of 2.12: 2.12.2 was the most recent
# bugfix release, but it didn't have glibc-ports released alongside it.
milestones='2.14 2.17 2.20 2.23 2.24 2.25 2.26 2.27 2.28 2.29 2.30'
archive_formats='.tar.xz .tar.bz2 .tar.gz'
diff --git a/packages/libelf/package.desc b/packages/libelf/package.desc
index 52e514f..f7648d9 100644
--- a/packages/libelf/package.desc
+++ b/packages/libelf/package.desc
@@ -1,5 +1,5 @@
# FIXME No public repository and no new releases.
# Consider switching to/adding project elftoolchain?
-mirrors='http://www.mr511.de/software https://fossies.org/linux/misc/old'
+mirrors='https://fossies.org/linux/misc/old'
relevantpattern='*.*|.'
archive_formats='.tar.gz'
diff --git a/samples/mips64-unknown-linux-gnu/crosstool.config b/samples/mips64-unknown-linux-gnu/crosstool.config
new file mode 100644
index 0000000..a33fd90
--- /dev/null
+++ b/samples/mips64-unknown-linux-gnu/crosstool.config
@@ -0,0 +1,7 @@
+CT_CONFIG_VERSION="3"
+CT_ARCH_MIPS=y
+CT_ARCH_mips_n64=y
+CT_ARCH_64=y
+CT_ARCH_FLOAT_HW=y
+CT_KERNEL_LINUX=y
+CT_CC_LANG_CXX=y
diff --git a/samples/mips64-unknown-linux-gnu/reported.by b/samples/mips64-unknown-linux-gnu/reported.by
new file mode 100644
index 0000000..41eaaff
--- /dev/null
+++ b/samples/mips64-unknown-linux-gnu/reported.by
@@ -0,0 +1,3 @@
+reporter_name="Chris Packham"
+reporter_url=""
+reporter_comment="Big-endian configuration for MIPS/glibc."
diff --git a/testing/docker/alpine3.8/Dockerfile b/testing/docker/alpine3.8/Dockerfile
index 43da7ac..6119f36 100644
--- a/testing/docker/alpine3.8/Dockerfile
+++ b/testing/docker/alpine3.8/Dockerfile
@@ -7,7 +7,7 @@ RUN adduser -D -h /home/ctng -G ctng -u $CTNG_UID -s /bin/bash ctng
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositories
RUN apk update
-RUN apk add alpine-sdk wget xz git bash autoconf automake bison flex texinfo help2man gawk libtool ncurses-dev gettext-dev python-dev
+RUN apk add alpine-sdk wget xz git bash autoconf automake bison flex texinfo help2man gawk libtool ncurses-dev gettext-dev python-dev rsync
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
diff --git a/testing/docker/archlinux/Dockerfile b/testing/docker/archlinux/Dockerfile
index 1a6a148..d874d62 100644
--- a/testing/docker/archlinux/Dockerfile
+++ b/testing/docker/archlinux/Dockerfile
@@ -3,7 +3,7 @@ ARG CTNG_UID=1000
ARG CTNG_GID=1000
RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Syu --noconfirm
-RUN pacman -S --noconfirm base-devel git help2man python unzip wget audit
+RUN pacman -S --noconfirm base-devel git help2man python unzip wget audit rsync
RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
diff --git a/testing/docker/centos6/Dockerfile b/testing/docker/centos6/Dockerfile
index 7f11fe1..736557b 100644
--- a/testing/docker/centos6/Dockerfile
+++ b/testing/docker/centos6/Dockerfile
@@ -5,7 +5,7 @@ RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN yum install -y epel-release
RUN yum install -y autoconf gperf bison flex texinfo help2man gcc-c++ libtool libtool-bin patch \
- ncurses-devel python34-devel perl-Thread-Queue bzip2 git wget xz unzip
+ ncurses-devel python34-devel perl-Thread-Queue bzip2 git wget xz unzip rsync
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
diff --git a/testing/docker/centos7/Dockerfile b/testing/docker/centos7/Dockerfile
index e7b812a..7dfe173 100644
--- a/testing/docker/centos7/Dockerfile
+++ b/testing/docker/centos7/Dockerfile
@@ -5,7 +5,7 @@ RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN yum install -y epel-release
RUN yum install -y autoconf gperf bison file flex texinfo help2man gcc-c++ libtool make patch \
- ncurses-devel python36-devel perl-Thread-Queue bzip2 git wget which xz unzip
+ ncurses-devel python36-devel perl-Thread-Queue bzip2 git wget which xz unzip rsync
RUN ln -sf python36 /usr/bin/python3
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
diff --git a/testing/docker/fedora29/Dockerfile b/testing/docker/fedora29/Dockerfile
index 15dfb34..9d7293f 100644
--- a/testing/docker/fedora29/Dockerfile
+++ b/testing/docker/fedora29/Dockerfile
@@ -4,7 +4,7 @@ ARG CTNG_GID=1000
RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN yum install -y autoconf gperf bison file flex texinfo help2man gcc-c++ libtool make patch \
- ncurses-devel python3-devel perl-Thread-Queue bzip2 git wget which xz unzip
+ ncurses-devel python3-devel perl-Thread-Queue bzip2 git wget which xz unzip rsync
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
diff --git a/testing/docker/mint19-amd64/Dockerfile b/testing/docker/mint19-amd64/Dockerfile
index cfc05e3..61f0562 100644
--- a/testing/docker/mint19-amd64/Dockerfile
+++ b/testing/docker/mint19-amd64/Dockerfile
@@ -5,7 +5,7 @@ RUN groupadd -g $CTNG_GID ctng
RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN apt-get update
RUN apt-get install -y gcc gperf bison flex texinfo help2man make libncurses5-dev \
- python3-dev autoconf automake libtool libtool-bin gawk wget
+ python3-dev autoconf automake libtool libtool-bin gawk wget rsync
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
diff --git a/testing/docker/ubuntu16.04/Dockerfile b/testing/docker/ubuntu16.04/Dockerfile
index a0b68ae..4190fc5 100644
--- a/testing/docker/ubuntu16.04/Dockerfile
+++ b/testing/docker/ubuntu16.04/Dockerfile
@@ -6,7 +6,7 @@ RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN apt-get update
RUN apt-get install -y gcc g++ gperf bison flex texinfo help2man make libncurses5-dev \
python3-dev autoconf automake libtool libtool-bin gawk wget bzip2 xz-utils unzip \
- patch libstdc++6
+ patch libstdc++6 rsync
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile
diff --git a/testing/docker/ubuntu18.04/Dockerfile b/testing/docker/ubuntu18.04/Dockerfile
index 918dd93..f5156d2 100644
--- a/testing/docker/ubuntu18.04/Dockerfile
+++ b/testing/docker/ubuntu18.04/Dockerfile
@@ -6,7 +6,7 @@ RUN useradd -d /home/ctng -m -g $CTNG_GID -u $CTNG_UID -s /bin/bash ctng
RUN apt-get update
RUN apt-get install -y gcc g++ gperf bison flex texinfo help2man make libncurses5-dev \
python3-dev autoconf automake libtool libtool-bin gawk wget bzip2 xz-utils unzip \
- patch libstdc++6
+ patch libstdc++6 rsync
RUN wget -O /sbin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64
RUN chmod a+x /sbin/dumb-init
RUN echo 'export PATH=/opt/ctng/bin:$PATH' >> /etc/profile