Created
February 26, 2021 09:43
-
-
Save bdbai/ff93935e702407bc3125a79ae28b4e31 to your computer and use it in GitHub Desktop.
ring-build-error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cargo build -Z build-std=std,panic_abort --target thumbv7a-uwp-windows-msvc | |
Compiling core v0.0.0 (C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core) | |
Compiling ring v0.16.20 | |
error: failed to run custom build command for `ring v0.16.20` | |
Caused by: | |
process didn't exit successfully: `D:\proj\ytflow\src\Maple\leaf\target\debug\build\ring-3b53a4a0d4ad7221\build-script-build` (exit code: 101) | |
--- stderr | |
thread 'main' panicked at '"C:\\Users\\bdbai\\.cargo\\registry\\src\\github.com-1ecc6299db9ec823\\ring-0.16.20\\pregenerated\\aesv8-armx-linux32.obj": Os { code: 2, kind: NotFound, message: "系统找不到指定的文件。" }', C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:769:10 | |
stack backtrace: | |
0: 0x7ff6dd9d038e - std::backtrace_rs::backtrace::dbghelp::trace | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\..\..\backtrace\src\backtrace\dbghelp.rs:98 | |
1: 0x7ff6dd9d038e - std::backtrace_rs::backtrace::trace_unsynchronized | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\..\..\backtrace\src\backtrace\mod.rs:66 | |
2: 0x7ff6dd9d038e - std::sys_common::backtrace::_print_fmt | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\sys_common\backtrace.rs:67 | |
3: 0x7ff6dd9d038e - std::sys_common::backtrace::_print::{{impl}}::fmt | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\sys_common\backtrace.rs:46 | |
4: 0x7ff6dd9e744b - core::fmt::write | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\core\src\fmt\mod.rs:1092 | |
5: 0x7ff6dd9cb2e8 - std::io::Write::write_fmt<std::sys::windows::stdio::Stderr> | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\io\mod.rs:1568 | |
6: 0x7ff6dd9d365d - std::sys_common::backtrace::_print | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\sys_common\backtrace.rs:49 | |
7: 0x7ff6dd9d365d - std::sys_common::backtrace::print | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\sys_common\backtrace.rs:36 | |
8: 0x7ff6dd9d365d - std::panicking::default_hook::{{closure}} | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:208 | |
9: 0x7ff6dd9d3129 - std::panicking::default_hook | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:225 | |
10: 0x7ff6dd9d3f10 - std::panicking::rust_panic_with_hook | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:591 | |
11: 0x7ff6dd9d3a41 - std::panicking::begin_panic_handler::{{closure}} | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:497 | |
12: 0x7ff6dd9d0d1f - std::sys_common::backtrace::__rust_end_short_backtrace<closure-0,!> | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\sys_common\backtrace.rs:141 | |
13: 0x7ff6dd9d3999 - std::panicking::begin_panic_handler | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:493 | |
14: 0x7ff6dd9e65b0 - core::panicking::panic_fmt | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\core\src\panicking.rs:92 | |
15: 0x7ff6dd9e63d3 - core::option::expect_none_failed | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\core\src\option.rs:1300 | |
16: 0x7ff6dd92bf48 - core::result::Result<std::fs::Metadata, std::io::error::Error>::expect<std::fs::Metadata,std::io::error::Error> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\result.rs:997 | |
17: 0x7ff6dd926e7d - build_script_build::file_modified | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:768 | |
18: 0x7ff6dd926c48 - build_script_build::need_run | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:754 | |
19: 0x7ff6dd924032 - build_script_build::build_library::{{closure}} | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:456 | |
20: 0x7ff6dd9374ff - core::iter::traits::iterator::Iterator::any::check::{{closure}}<std::path::Path*,closure-2> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\iter\traits\iterator.rs:2270 | |
21: 0x7ff6dd932d1f - core::iter::adapters::map::map_try_fold::{{closure}}<alloc::string::String*,std::path::Path*,tuple<>,core::ops::control_flow::ControlFlow<tuple<>, tuple<>>,fn(alloc::string::String*) -> std::path::Path*,closure-0> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\iter\adapters\map.rs:88 | |
22: 0x7ff6dd92f3f7 - core::iter::traits::iterator::Iterator::try_fold<core::slice::iter::Iter<alloc::string::String>,tuple<>,closure-0,core::ops::control_flow::ControlFlow<tuple<>, tuple<>>> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\iter\traits\iterator.rs:1981 | |
23: 0x7ff6dd932269 - core::iter::adapters::map::{{impl}}::try_fold<std::path::Path*,core::slice::iter::Iter<alloc::string::String>,fn(alloc::string::String*) -> std::path::Path*,tuple<>,closure-0,core::ops::control_flow::ControlFlow<tuple<>, tuple<>>> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\iter\adapters\map.rs:114 | |
24: 0x7ff6dd932541 - core::iter::traits::iterator::Iterator::any<core::iter::adapters::map::Map<core::slice::iter::Iter<alloc::string::String>, fn(alloc::string::String*) -> std::path::Path*>,closure-2> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\iter\traits\iterator.rs:2274 | |
25: 0x7ff6dd9237ba - build_script_build::build_library | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:453 | |
26: 0x7ff6dd9232e6 - build_script_build::build_c_code::{{closure}} | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:416 | |
27: 0x7ff6dd93039d - core::slice::iter::{{impl}}::for_each<tuple<str, slice<std::path::PathBuf>, slice<std::path::PathBuf>>,closure-4> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\slice\iter\macros.rs:203 | |
28: 0x7ff6dd922d1a - build_script_build::build_c_code | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:415 | |
29: 0x7ff6dd9219a6 - build_script_build::ring_build_rs_main | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:279 | |
30: 0x7ff6dd9213dc - build_script_build::main | |
at C:\Users\bdbai\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:240 | |
31: 0x7ff6dd92d25b - core::ops::function::FnOnce::call_once<fn(),tuple<>> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\core\src\ops\function.rs:227 | |
32: 0x7ff6dd92c3cb - std::sys_common::backtrace::__rust_begin_short_backtrace<fn(),tuple<>> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\sys_common\backtrace.rs:125 | |
33: 0x7ff6dd937131 - std::rt::lang_start::{{closure}}<tuple<>> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\rt.rs:66 | |
34: 0x7ff6dd9d40a7 - core::ops::function::impls::{{impl}}::call_once | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\library\core\src\ops\function.rs:280 | |
35: 0x7ff6dd9d40a7 - std::panicking::try::do_call | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:379 | |
36: 0x7ff6dd9d40a7 - std::panicking::try | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panicking.rs:343 | |
37: 0x7ff6dd9d40a7 - std::panic::catch_unwind | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\panic.rs:431 | |
38: 0x7ff6dd9d40a7 - std::rt::lang_start_internal | |
at /rustc/a15f484b918a4533ad633ea903ccce82910af342\/library\std\src\rt.rs:51 | |
39: 0x7ff6dd937103 - std::rt::lang_start<tuple<>> | |
at C:\Users\bdbai\.rustup\toolchains\nightly-x86_64-pc-windows-msvc\lib\rustlib\src\rust\library\std\src\rt.rs:65 | |
40: 0x7ff6dd927a80 - main | |
41: 0x7ff6dd9ebf24 - invoke_main | |
at d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78 | |
42: 0x7ff6dd9ebf24 - __scrt_common_main_seh | |
at d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 | |
43: 0x7ff97ca37034 - BaseThreadInitThunk | |
44: 0x7ff97e91d241 - RtlUserThreadStart | |
warning: build failed, waiting for other jobs to finish... | |
LLVM ERROR: target does not implement codeview register mapping | |
error: build failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment