DEBUG: Executing shell function do_compile NOTE: cargo = TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/recipe-sysroot-native/usr/bin/cargo Usage: which [options] [--] COMMAND [...] Write the full path of COMMAND(s) to standard output. --version, -[vV] Print version and exit successfully. --help, Print this help and exit successfully. --skip-dot Skip directories in PATH that start with a dot. --skip-tilde Skip directories in PATH that start with a tilde. --show-dot Don't expand a dot to current directory in output. --show-tilde Output a tilde for HOME directory for non-root. --tty-only Stop processing options on the right if not on tty. --all, -a Print all matches in PATH, not just the first --read-alias, -i Read list of aliases from stdin. --skip-alias Ignore option --read-alias; don't read stdin. --read-functions Read shell functions from stdin. --skip-functions Ignore option --read-functions; don't read stdin. Recommended use is to write the output of (alias; declare -f) to standard input, so that which can show aliases and shell functions. See which(1) for examples. If the options --read-alias and/or --read-functions are specified then the output can be a full alias or function definition, optionally followed by the full path of each command used inside of those. Report bugs to <which-bugs@gnu.org>. NOTE: rustc = NOTE: cargo build -v --target riscv32-yoe-linux-musl --release --manifest-path=TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/rustc-1.62.0-src/library/std//Cargo.toml --features 'panic-unwind backtrace' warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/rustc-1.62.0-src/src/tools/rls/racer/Cargo.toml workspace: TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/rustc-1.62.0-src/Cargo.toml error: failed to run `rustc` to learn about target-specific information Caused by: process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -L TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/recipe-sysroot/usr/lib/rust --remap-path-prefix=TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0=/usr/src/debug/libstd-rs/1.62.0-r0 -Cembed-bitcode=yes -L TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/recipe-sysroot/usr/lib -C link-arg=-Wl,-soname,libstd.so --target riscv32-yoe-linux-musl --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit status: 101) --- stderr warning: target json file contains unused fields: has-elf-tls warning: target json file contains unused fields: has-elf-tls LLVM ERROR: CPU 'generic' is not supported. Use generic-rv32 WARNING: TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/temp/run.do_compile.1539473:177 exit 101 from '"cargo" build -v --target riscv32-yoe-linux-musl --release --manifest-path=TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/rustc-1.62.0-src/library/std//Cargo.toml --features 'panic-unwind backtrace' "$@"' WARNING: Backtrace (BB generated script): #1: oe_cargo_build, TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/temp/run.do_compile.1539473, line 177 #2: cargo_do_compile, TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/temp/run.do_compile.1539473, line 167 #3: do_compile, TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/temp/run.do_compile.1539473, line 161 #4: main, TOPDIR/build/tmp/work/riscv32-yoe-linux-musl/libstd-rs/1.62.0-r0/temp/run.do_compile.1539473, line 209