SYNC include/generated/autoconf.h HOSTRUSTC scripts/generate_rust_target error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/aarch64-alpine-linux-musl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/home/mps/.local/bin:/usr/sbin:/sbin" VSLANG="1033" "cc" "/tmp/rustcJewugG/symbols.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.0.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.1.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.10.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.11.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.12.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.13.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.14.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.15.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.2.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.3.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.4.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.5.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.6.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.7.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.8.rcgu.o" "generate_rust_target.generate_rust_target.2b2d27ff-cgu.9.rcgu.o" "generate_rust_target.39g0rn41mpy8c0o2.rcgu.o" "-Wl,--as-needed" "-L" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib" "-Wl,-Bstatic" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libstd-32596a42af3cba3c.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libpanic_unwind-4724a1be59a31a81.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libobject-727ba4a748288508.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libmemchr-55401119d43e386e.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libaddr2line-f77bd130cde43c99.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libgimli-04c957580fa7ab96.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/librustc_demangle-9ca6c95565d5d63d.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libstd_detect-bf59311819b22640.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libhashbrown-3f1b7aa805ed3a55.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libminiz_oxide-f161c4910ea9ce89.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libadler-d2801987dedf5f3c.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/librustc_std_workspace_alloc-ccc38eb1303473a6.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libunwind-21c5796ad59972c9.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libcfg_if-a0f3fd2db00080db.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/liblibc-bdbde275012f6d68.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/liballoc-d9895eed4471507a.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/librustc_std_workspace_core-0db0845c66512a1d.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libcore-10a2f68882f3e522.rlib" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libcompiler_builtins-afff4d39566a1d1e.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/aarch64-alpine-linux-musl/lib" "-o" "scripts/generate_rust_target" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" = note: /usr/lib/gcc/aarch64-alpine-linux-musl/13.1.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libstd-32596a42af3cba3c.rlib(std-32596a42af3cba3c.std.b1af95bc-cgu.0.rcgu.o): in function `std::fs::metadata': std.b1af95bc-cgu.0:(.text._ZN3std2fs8metadata17h695687147cdfa0d4E+0x80): undefined reference to `stat64' /usr/lib/gcc/aarch64-alpine-linux-musl/13.1.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libstd-32596a42af3cba3c.rlib(std-32596a42af3cba3c.std.b1af95bc-cgu.0.rcgu.o): in function `std::sys::common::small_c_string::run_with_cstr_allocating': std.b1af95bc-cgu.0:(.text.unlikely._ZN3std3sys6common14small_c_string24run_with_cstr_allocating17hf10b050fbdb782abE+0x74): undefined reference to `stat64' /usr/lib/gcc/aarch64-alpine-linux-musl/13.1.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libstd-32596a42af3cba3c.rlib(std-32596a42af3cba3c.std.b1af95bc-cgu.0.rcgu.o): in function `std::sys::unix::fs::File::open_c': std.b1af95bc-cgu.0:(.text._ZN3std3sys4unix2fs4File6open_c17h756145b8f5138a20E+0xfc): undefined reference to `open64' /usr/lib/gcc/aarch64-alpine-linux-musl/13.1.1/../../../../aarch64-alpine-linux-musl/bin/ld: /usr/lib/rustlib/aarch64-alpine-linux-musl/lib/libstd-32596a42af3cba3c.rlib(std-32596a42af3cba3c.std.b1af95bc-cgu.0.rcgu.o): in function `std::backtrace_rs::symbolize::gimli::mmap': std.b1af95bc-cgu.0:(.text._ZN3std12backtrace_rs9symbolize5gimli4mmap17he70e18ea1da16009E+0x13c): undefined reference to `fstat64' collect2: error: ld returned 1 exit status = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified = note: use the `-l` flag to specify native libraries to link = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) error: aborting due to previous error make[1]: *** [scripts/Makefile.host:153: scripts/generate_rust_target] Error 1 make: *** [Makefile:1270: scripts] Error 2 make: *** Waiting for unfinished jobs.... >>> ERROR: linux-asahi-edge: build failed