File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/ci/docker/host-x86_64 Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,8 @@ RUN sh /scripts/sccache.sh
3737
3838# Make `libgccjit.so` accessible.
3939RUN ln -s /usr/lib/gcc/x86_64-linux-gnu/12/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so
40+ # Fix rustc_codegen_gcc lto issues.
41+ ENV GCC_EXEC_PREFIX="/usr/lib/gcc/"
4042
4143# We are disabling CI LLVM since this builder is intentionally using a host
4244# LLVM, rather than the typical src/llvm-project LLVM.
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ RUN sh /scripts/sccache.sh
6464
6565# Make `libgccjit.so` accessible.
6666RUN ln -s /usr/lib/gcc/x86_64-linux-gnu/12/libgccjit.so /usr/lib/x86_64-linux-gnu/libgccjit.so
67+ # Fix rustc_codegen_gcc lto issues.
68+ ENV GCC_EXEC_PREFIX="/usr/lib/gcc/"
6769
6870COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
6971
You can’t perform that action at this time.
0 commit comments