File tree 2 files changed +4
-0
lines changed
src/ci/docker/host-x86_64
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
37
37
38
38
# Make `libgccjit.so` accessible.
39
39
RUN 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/"
40
42
41
43
# We are disabling CI LLVM since this builder is intentionally using a host
42
44
# 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
64
64
65
65
# Make `libgccjit.so` accessible.
66
66
RUN 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/"
67
69
68
70
COPY host-x86_64/x86_64-gnu-tools/checktools.sh /tmp/
69
71
You can’t perform that action at this time.
0 commit comments