-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed as not planned
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Description
The Rust 1.28.0 build fails in the Guix distribution. We are using quite similar build processes (using ./x.py) for each of the Rust versions, and the versions 1.23.0, 1.24.1, 1.25.0, 1.26.2, 1.27.0, 1.27.2 work fine with it, but Rust 1.28.0 fails while testing (right after rustdoc).
The build process is:
$ export CFG_DISABLE_CROSS_TESTS="1"
$ export SHELL=$(which "sh")
$ export CONFIG_SHELL=$(which "sh")
$ export CC=/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/gcc
$ export LLVM_LINK_SHARED="1"
$ ./x.py build
$ ./x.py build src/tools/cargo
$ ./x.py -j1 test -vv # fails here
$ ./x.py -j1 test src/tools/cargo
(See also https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/rust.scm )
Our config.toml
is:
[llvm]
[build]
cargo = "/gnu/store/kwpdxgwh6ki13gikhbb4rhxrr36fzcij-rust-1.27.2-cargo/bin/cargo"
rustc = "/gnu/store/nzk7g7l7hizg4p3kp239x9acg939d18f-rust-1.27.2/bin/rustc"
docs = true
python = "/gnu/store/axfhalb1syyhayn6j873z4l8s5d68i3v-python2-2.7.14/bin/python2"
gdb = "/gnu/store/vmfyql60lbji2ca50r2xd3sq1m41qrrl-gdb-8.2/bin/gdb"
vendor = true
submodules = false
[install]
prefix = "/gnu/store/k0432vkqdxxbv7p4swvgc2b8wds0akmg-rust-1.28.0"
docdir = "/gnu/store/p15l3xash8fymraf8gkdwdwajlk495q8-rust-1.28.0-doc/share/doc/rust"
sysconfdir = "etc"
localstatedir = "var/lib"
[rust]
default-linker = "/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/gcc"
channel = "stable"
rpath = true
[target.x86_64-unknown-linux-gnu]
llvm-config = "/gnu/store/pfs7b46rav4mrrayzccwpipmqxa38p1i-llvm-6.0.1/bin/llvm-config"
cc = "/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/gcc"
cxx = "/gnu/store/zrhwhlqqk51qslbddk4cip2z2p3fpvxd-gcc-5.5.0/bin/g++"
ar = "/gnu/store/srmqh29dpm50j8kj1pbqg2rgh053wgyp-binutils-2.30/bin/ar"
jemalloc = "/gnu/store/rrzbl659j0vzxvp5ilc1zm601f0pf46j-jemalloc-4.5.0/lib/libjemalloc_pic.a"
[dist]
Metadata
Metadata
Assignees
Labels
T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)