Created attachment 906952 [details] tar archive containing cross_llvm-riscv32-unknown-elf-info.log, cross_llvm-riscv32-unknown-elf-newlib-headers.log.xz, newlib-config.logs.tar.xz When trying to build a crosscompilation toolchain for riscv32-unknown-elf with llvm by runnin: crossdev --lenv 'USE="nano -nls -threads -unicode"' -s1 -t riscv32-unknown-elf -L newlib fails to build. Looking at the newlib-4.4.0.20231231.ebuild ebuild, it seems weird that it is matching CTARGET with CHOST to check that crossdev is being used. The embedded handbook seems to say that they're supposed to be the same: https://wiki.gentoo.org/wiki/Embedded_Handbook/General/Full#Environment_variables
Note that the LLVM support for crossdev is very experimental.