Skip to content

Commit 3bcb00d

Browse files
committed
Auto merge of #45991 - gnzlbg:fix_i586, r=alexcrichton
fix linking error on i586 Try to fix this linking error on i586 in cross: https://travis-ci.org/japaric/cross/builds/302095949#L8670 The problem is that `std` is built in Ubuntu 16.04 and `cross` uses a linker from 12.04. Currently this fix solves the problem for `i686-musl` making it "supercompatible", this PR applies the fix to `i586` as well. The cross PR is here: cross-rs/cross#157
2 parents 8fbb46c + 5146663 commit 3bcb00d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ci/docker/dist-i586-gnu-i686-musl/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ ENV RUST_CONFIGURE_ARGS \
3434
#
3535
# See: https://github.com/rust-lang/rust/issues/34978
3636
ENV CFLAGS_i686_unknown_linux_musl=-Wa,-mrelax-relocations=no
37+
ENV CFLAGS_i586_unknown_linux_gnu=-Wa,-mrelax-relocations=no
3738

3839
ENV SCRIPT \
3940
python2.7 ../x.py test \

0 commit comments

Comments
 (0)