Skip to content

Instantly share code, notes, and snippets.

@sekineh
Created June 24, 2018 04:52
Show Gist options
  • Save sekineh/8fdf934f42382bcd3c75de360da5a8f6 to your computer and use it in GitHub Desktop.
Save sekineh/8fdf934f42382bcd3c75de360da5a8f6 to your computer and use it in GitHub Desktop.
$ /x.py test --target thumbv7m-none-eabi src/test/run-make
Updating only changed submodules
Submodules updated in 0.03 seconds
Finished dev [unoptimized] target(s) in 0.18s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.18s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.17s
Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.20s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 codegen artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu, llvm)
Finished release [optimized] target(s) in 0.20s
Assembling stage1 compiler (x86_64-unknown-linux-gnu)
Building stage1 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.18s
Copying stage1 std from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage1 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.17s
Copying stage1 test from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage1 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
Finished release [optimized] target(s) in 0.20s
Copying stage1 rustc from stage1 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage1 codegen artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu, llvm)
Finished release [optimized] target(s) in 0.20s
Assembling stage2 compiler (x86_64-unknown-linux-gnu)
Building stage2 std artifacts (x86_64-unknown-linux-gnu -> thumbv7m-none-eabi)
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/divdc3.c:21:1: warning: conflicting types for built-in function '__divdc3'
warning: __divdc3(double __a, double __b, double __c, double __d)
warning: ^
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/divsc3.c:21:1: warning: conflicting types for built-in function '__divsc3'
warning: __divsc3(float __a, float __b, float __c, float __d)
warning: ^
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/muldc3.c:21:1: warning: conflicting types for built-in function '__muldc3'
warning: __muldc3(double __a, double __b, double __c, double __d)
warning: ^
warning: ../../libcompiler_builtins/compiler-rt/lib/builtins/mulsc3.c:21:1: warning: conflicting types for built-in function '__mulsc3'
warning: __mulsc3(float __a, float __b, float __c, float __d)
warning: ^
Finished release [optimized] target(s) in 0.18s
Copying stage2 std from stage2 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / thumbv7m-none-eabi)
Building stage2 test artifacts (x86_64-unknown-linux-gnu -> thumbv7m-none-eabi)
Compiling term v0.0.0 (file:///home/sekineh/rustme/src/libterm)
Compiling getopts v0.2.17
warning: dropping unsupported crate type `dylib` for target `thumbv7m-none-eabi`
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7m-none-eabi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error[E0463]: can't find crate for `std`
|
= note: the `thumbv7m-none-eabi` target may not be installed
error: aborting due to previous error
For more information about this error, try `rustc --explain E0463`.
error: Could not compile `getopts`.
Caused by:
process didn't exit successfully: `/home/sekineh/rustme/build/bootstrap/debug/rustc --crate-name getopts /home/sekineh/.cargo/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.17/src/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=51ccaccdb7d8163e -C extra-filename=-51ccaccdb7d8163e --out-dir /home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage2-test/thumbv7m-none-eabi/release/deps --target thumbv7m-none-eabi -L dependency=/home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage2-test/thumbv7m-none-eabi/release/deps -L dependency=/home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage2-test/release/deps --cap-lints allow` (exit code: 101)
warning: build failed, waiting for other jobs to finish...
error: Could not compile `term`.
Caused by:
process didn't exit successfully: `/home/sekineh/rustme/build/bootstrap/debug/rustc --crate-name term libterm/lib.rs --error-format json --crate-type dylib --crate-type rlib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 -C metadata=b839a5796ea44350 -C extra-filename=-b839a5796ea44350 --out-dir /home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage2-test/thumbv7m-none-eabi/release/deps --target thumbv7m-none-eabi -L dependency=/home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage2-test/thumbv7m-none-eabi/release/deps -L dependency=/home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage2-test/release/deps` (exit code: 101)
command did not execute successfully: "/home/sekineh/rustme/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "thumbv7m-none-eabi" "-j" "8" "--release" "--manifest-path" "/home/sekineh/rustme/src/libtest/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101
thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9
stack backtrace:
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::print
at libstd/sys_common/backtrace.rs:71
at libstd/sys_common/backtrace.rs:59
2: std::panicking::default_hook::{{closure}}
at libstd/panicking.rs:211
3: std::panicking::default_hook
at libstd/panicking.rs:227
4: std::panicking::rust_panic_with_hook
at libstd/panicking.rs:463
5: std::panicking::begin_panic
at /checkout/src/libstd/panicking.rs:397
6: bootstrap::compile::run_cargo
at bootstrap/compile.rs:1091
7: <bootstrap::compile::Test as bootstrap::builder::Step>::run
at bootstrap/compile.rs:379
8: bootstrap::builder::Builder::ensure
at bootstrap/builder.rs:1117
9: <bootstrap::test::Compiletest as bootstrap::builder::Step>::run
at bootstrap/test.rs:969
10: bootstrap::builder::Builder::ensure
at bootstrap/builder.rs:1117
11: <bootstrap::test::RunMake as bootstrap::builder::Step>::run
at bootstrap/test.rs:727
12: bootstrap::builder::Builder::ensure
at bootstrap/builder.rs:1117
13: <bootstrap::test::RunMake as bootstrap::builder::Step>::make_run
at bootstrap/test.rs:720
14: bootstrap::builder::StepDescription::maybe_run
at bootstrap/builder.rs:191
15: bootstrap::builder::StepDescription::run
at bootstrap/builder.rs:231
16: bootstrap::builder::Builder::run_step_descriptions
at bootstrap/builder.rs:569
17: bootstrap::builder::Builder::execute_cli
at bootstrap/builder.rs:559
18: bootstrap::Build::build
at bootstrap/lib.rs:458
19: bootstrap::main
at bootstrap/bin/main.rs:29
20: std::rt::lang_start::{{closure}}
at /checkout/src/libstd/rt.rs:74
21: std::panicking::try::do_call
at libstd/rt.rs:59
at libstd/panicking.rs:310
22: __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:105
23: std::rt::lang_start_internal
at libstd/panicking.rs:289
at libstd/panic.rs:374
at libstd/rt.rs:58
24: std::rt::lang_start
at /checkout/src/libstd/rt.rs:74
25: main
26: __libc_start_main
27: _start
failed to run: /home/sekineh/rustme/build/bootstrap/debug/bootstrap test --target thumbv7m-none-eabi src/test/run-make
Build completed unsuccessfully in 0:00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment