diff options
| author | bors <bors@rust-lang.org> | 2023-11-07 22:07:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-07 22:07:23 +0000 |
| commit | ff0b4b6091a75ad840035a991426c8bc9fbd93bb (patch) | |
| tree | 2717970c22df3c5b37a81b2452ef56a574f449ee /src/ci | |
| parent | 7adc89b69b941afceadcf8609dd6b2999353e550 (diff) | |
| parent | 1d1fe9a2052ef89ef6efb414f32dfb5151652560 (diff) | |
| download | rust-ff0b4b6091a75ad840035a991426c8bc9fbd93bb.tar.gz rust-ff0b4b6091a75ad840035a991426c8bc9fbd93bb.zip | |
Auto merge of #117672 - lqd:ci-gcc-lld, r=Kobzol
ci: bump gcc on dist x64 linux builder to 9.5 Support for `-fuse-ld=lld` was added in GCC 9, so this PR bumps gcc to the latest 9.x release, to prepare for switching to LLD. `-Clinker-flavor=gnu-lld-cc -Clink-self-contained=+linker` will require our CI's GCC to understand `-fuse-ld=lld` when bootstrapping in a future where `x86_64-unknown-linux-gnu` is using `rust-lld` by default.
Diffstat (limited to 'src/ci')
| -rwxr-xr-x | src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh index 3b3ec5da74b..e939a5d7eac 100755 --- a/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh +++ b/src/ci/docker/host-x86_64/dist-x86_64-linux/build-gcc.sh @@ -3,7 +3,8 @@ set -ex source shared.sh -GCC=8.5.0 +# Note: in the future when bumping to version 10.1.0, also take care of the sed block below. +GCC=9.5.0 curl https://ftp.gnu.org/gnu/gcc/gcc-$GCC/gcc-$GCC.tar.xz | xzcat | tar xf - cd gcc-$GCC @@ -22,6 +23,11 @@ cd gcc-$GCC # latter host is presented to `wget`! Therefore, we choose to download from the insecure HTTP server # instead here. # +# Note: in version 10.1.0, the URL used in `download_prerequisites` has changed from using FTP to +# using HTTP. When bumping to that gcc version, we can likely remove the sed replacement below, or +# the expression will need to be updated. That new URL is available at: +# https://github.com/gcc-mirror/gcc/blob/6e6e3f144a33ae504149dc992453b4f6dea12fdb/contrib/download_prerequisites#L35 +# sed -i'' 's|ftp://gcc\.gnu\.org/|https://gcc.gnu.org/|g' ./contrib/download_prerequisites ./contrib/download_prerequisites |
