File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
host-aarch64/dist-aarch64-linux Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,11 @@ WORKDIR /tmp
4646RUN mkdir /home/user
4747COPY scripts/shared.sh /tmp/
4848
49- # Need at least GCC 5.1 to compile LLVM
49+ # Need at least GCC 9 to compile LLVM
50+ # GCC 9.3+ have an unsoundness problem (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189), so we
51+ # stay at 9.2.0.
5052COPY scripts/build-gcc.sh /tmp/
51- ENV GCC_VERSION=9.5 .0
53+ ENV GCC_VERSION=9.2 .0
5254ENV GCC_BUILD_TARGET=aarch64-unknown-linux-gnu
5355RUN ./build-gcc.sh && yum remove -y gcc gcc-c++
5456
Original file line number Diff line number Diff line change @@ -49,9 +49,11 @@ WORKDIR /tmp
4949RUN mkdir /home/user
5050COPY scripts/shared.sh /tmp/
5151
52- # Need at least GCC 5.1 to compile LLVM nowadays
52+ # Need at least GCC 9 to compile LLVM
53+ # GCC 9.3+ have an unsoundness problem (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189), so we
54+ # stay at 9.2.0.
5355COPY scripts/build-gcc.sh /tmp/
54- ENV GCC_VERSION=9.5 .0
56+ ENV GCC_VERSION=9.2 .0
5557ENV GCC_BUILD_TARGET=i686-pc-linux-gnu
5658RUN ./build-gcc.sh && yum remove -y gcc gcc-c++
5759
Original file line number Diff line number Diff line change @@ -52,9 +52,11 @@ WORKDIR /tmp
5252RUN mkdir /home/user
5353COPY scripts/shared.sh /tmp/
5454
55- # Need at least GCC 5.1 to compile LLVM nowadays
55+ # Need at least GCC 9 to compile LLVM
56+ # GCC 9.3+ have an unsoundness problem (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189), so we
57+ # stay at 9.2.0.
5658COPY scripts/build-gcc.sh /tmp/
57- ENV GCC_VERSION=9.5 .0
59+ ENV GCC_VERSION=9.2 .0
5860ENV GCC_BUILD_TARGET=x86_64-pc-linux-gnu
5961RUN ./build-gcc.sh && yum remove -y gcc gcc-c++
6062
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ source shared.sh
77# This version is specified in the Dockerfile
88GCC=$GCC_VERSION
99
10- curl https://ftp.gnu .org/gnu /gcc/gcc- $GCC /gcc-$GCC .tar.xz | xzcat | tar xf -
10+ curl https://ci-mirrors.rust-lang .org/rustc /gcc/gcc-$GCC .tar.xz | xzcat | tar xf -
1111cd gcc-$GCC
1212
1313# FIXME(#49246): Remove the `sed` below.
You can’t perform that action at this time.
0 commit comments