-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcP-mediumMedium priorityMedium priorityT-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)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
when running x.py test
locally I get errors in the test run-make-fulldeps/linker-output-non-utf8
:
---- [run-make] run-make-fulldeps/linker-output-non-utf8 stdout ----
error: make failed
status: exit code: 2
command: "make"
stdout:
------------------------------------------
LD_LIBRARY_PATH="/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8:/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/stage2/lib:/home/nmatsakis/versioned/rust-6/build/x86_64\
-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/stage0/lib" '/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/nmatsakis/versi\
oned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8 -L /home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8 library.rs
mkdir /home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8/zzz$'\xff'
mv /home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8/liblibrary.a /home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-outp\
ut-non-utf8/zzz$'\xff'
LD_LIBRARY_PATH="/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8:/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/stage2/lib:/home/nmatsakis/versioned/rust-6/build/x86_64\
-unknown-linux-gnu/stage0-bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/stage0/lib" '/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/stage2/bin/rustc' --out-dir /home/nmatsakis/versi\
oned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8 -L /home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8 -L /home/nmatsakis/ve\
rsioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8/zzz$'\xff' exec.rs 2>&1 | "/home/nmatsakis/versioned/rust-6/src/etc/cat-and-grep.sh" this_symbol_not_defined
[[[ begin stdout ]]]
^[[90merror: Argument 6 is not valid Unicode: "/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8/zzz\xFF"
^[[0m
[[[ end stdout ]]]
^[[1;31mError: cannot match: this_symbol_not_defined^[[0m
------------------------------------------
stderr:
------------------------------------------
make: *** [Makefile:23: all] Error 1
------------------------------------------
The most notable part being this:
error: Argument 6 is not valid Unicode: "/home/nmatsakis/versioned/rust-6/build/x86_64-unknown-linux-gnu/test/run-make-fulldeps/linker-output-non-utf8/linker-output-non-utf8/zzz\xFF"
perhaps related to the linker on my system?
mati865 and oxalica
Metadata
Metadata
Assignees
Labels
A-linkageArea: linking into static, shared libraries and binariesArea: linking into static, shared libraries and binariesA-testsuiteArea: The testsuite used to check the correctness of rustcArea: The testsuite used to check the correctness of rustcP-mediumMedium priorityMedium priorityT-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)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.