Created attachment 669596 [details] Output of emerge --info I added WebAssembly to LLVM_TARGETS and rebuilt with --changed-use. When I try to compile a test program with "clang --target=wasm32 ..." I get the following error: clang-11: error: unable to execute command: Executable "wasm-ld" doesn't exist! I searched for "wasm-ld" and could not find it anywhere.
I had to compile sys-devel/clang with default-lld
just installing sys-devel/lld should be enough, it's packaged separately. it will provide wasm-ld. regardless of flags on clang.