[Pkg-rust-maintainers] Bug#851150: Bug#851150: src:rustc: FTBFS on s390x due to Illegal instruction

Ximin Luo infinity0 at debian.org
Sun Feb 26 17:55:00 UTC 2017


Ximin Luo:
> Package: src:rustc
> Version: 1.14.0+dfsg1-3
> Severity: important
> 
> Dear Maintainer,
> 
> The s390x build FTBFS due to Illegal instruction:
> 
> https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=s390x&ver=1.14.0%2Bdfsg1-3&stamp=1484054421
> https://buildd.debian.org/status/fetch.php?pkg=rustc&arch=s390x&ver=1.14.0%2Bdfsg1-3&stamp=1484054421&raw=1
> 
> [..]
> CFG_LLVM_LINKAGE_FILE=/«BUILDDIR»/rustc-1.14.0+dfsg1/s390x-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/«BUILDDIR»/rustc-1.14.0+dfsg1/s390x-unknown-linux-gnu/stage0/lib:/usr/lib/llvm-3.9/lib:$LD_LIBRARY_PATH   s390x-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 -C link-args=-Wl,-z,relro -O --cfg rtopt -Cdebuginfo=1 -C rpath -C prefer-dynamic -C no-stack-check --target=s390x-unknown-linux-gnu   -L "s390x-unknown-linux-gnu/rt" -L native="/usr/lib/llvm-3.9/lib"     --out-dir s390x-unknown-linux-gnu/stage0/lib/rustlib/s390x-unknown-linux-gnu/lib -C extra-filename=-f5a209a9 -C metadata=f5a209a9 src/libcore/lib.rs
> Illegal instruction
> /«BUILDDIR»/rustc-1.14.0+dfsg1/mk/target.mk:191: recipe for target 's390x-unknown-linux-gnu/stage0/lib/rustlib/s390x-unknown-linux-gnu/lib/stamp.core' failed
> [..]
> 
> It was done by https://db.debian.org/machines.cgi?host=zemlinsky which is a z10 machine. This is claimed to be supported by rustc:
> 
> https://anonscm.debian.org/cgit/pkg-rust/rust.git/tree/src/librustc_back/target/s390x_unknown_linux_gnu.rs
> https://github.com/rust-lang/rust/commits/1.14.0/src/librustc_back/target/s390x_unknown_linux_gnu.rs
> https://github.com/rust-lang/rust/commits/master/src/librustc_back/target/s390x_unknown_linux_gnu.rs
> 
> There is a comment "// z10 is the oldest CPU supported by LLVM"
> 
>>From oldest to newest, the models go [z10, z196, zEC12, z13], e.g. see https://en.wikipedia.org/wiki/IBM_z196
> 
> <xnox> apoikos, ubuntu is z13.
> <xnox> infinity0, i believe debian is z196 baseline (or maybe even lower)
> 
> It succeeded on ubuntu: https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/ppa/+build/11822485
> 
> [..]

1.15.1 succeeded for me just now on zelenka.debian.org the s390x porterbox, however there was a test failure.

I'll retry 1.14.0 on zelenka again and see if it fails. If it does, then I'll assume the issue was fixed in 1.15.1 and try uploading that to the buildds (after fixing the test failure). If it doesn't fail, then it could be due to a CPU difference between zelenka and zemlinsky.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git



More information about the Pkg-rust-maintainers mailing list