about summary refs log tree commit diff
path: root/src/ci/docker/scripts
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-04-01 03:56:44 +0000
committerbors <bors@rust-lang.org>2020-04-01 03:56:44 +0000
commit1a87c49e33d87955e28fa92a8d59a17264ac6044 (patch)
tree09076c9f5a6e32202b987d2342686c07ed63e951 /src/ci/docker/scripts
parent58dd1ce8383aaebcad9b6027b89a316fd868b35c (diff)
parent55bdb61b48a01e9a7c6efb4622fecab2411c0287 (diff)
downloadrust-1a87c49e33d87955e28fa92a8d59a17264ac6044.tar.gz
rust-1a87c49e33d87955e28fa92a8d59a17264ac6044.zip
Auto merge of #70414 - lopsided98:armv6-gcc-8, r=pietroalbini
Upgrade GCC to 8.3.0, glibc to 2.17.0 and crosstool-ng to 1.24.0 for dist-arm-linux and dist-armhf-linux

Attempt to fix #69420 in the same manner as #65302 did for armv7l. I have tested that this eliminates the segfault while building a `hello_world` package on `arm-unknown-linux-gnueabihf`.

I have not been able to test whether the bug exists for `arm-unknown-linux-gnueabi` as well, but I suspect it does, so I upgraded the toolchain for that platform as well.
Diffstat (limited to 'src/ci/docker/scripts')
-rw-r--r--src/ci/docker/scripts/crosstool-ng-1.24.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ci/docker/scripts/crosstool-ng-1.24.sh b/src/ci/docker/scripts/crosstool-ng-1.24.sh
new file mode 100644
index 00000000000..fb067a79a5c
--- /dev/null
+++ b/src/ci/docker/scripts/crosstool-ng-1.24.sh
@@ -0,0 +1,12 @@
+set -ex
+
+# Mirrored from https://github.com/crosstool-ng/crosstool-ng/archive/crosstool-ng-1.24.0.tar.gz
+url="https://ci-mirrors.rust-lang.org/rustc/crosstool-ng-1.24.0.tar.gz"
+curl -Lf $url | tar xzf -
+cd crosstool-ng-crosstool-ng-1.24.0
+./bootstrap
+./configure --prefix=/usr/local
+make -j$(nproc)
+make install
+cd ..
+rm -rf crosstool-ng-crosstool-ng-1.24.0