Summary: | Building llvm with WebAssembly target does not produce wasm-ld | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | mg05182-gentoo |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output of emerge --info |
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. |
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.