Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752123 - Building llvm with WebAssembly target does not produce wasm-ld
Summary: Building llvm with WebAssembly target does not produce wasm-ld
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 15:31 UTC by mg05182-gentoo
Modified: 2020-11-01 20:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of emerge --info (emerge-info-output,6.26 KB, text/plain)
2020-11-01 15:31 UTC, mg05182-gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mg05182-gentoo 2020-11-01 15:31:46 UTC
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.
Comment 1 mg05182-gentoo 2020-11-01 16:16:38 UTC
I had to compile sys-devel/clang with default-lld
Comment 2 Georgy Yakovlev archtester gentoo-dev 2020-11-01 20:53:27 UTC
just installing sys-devel/lld should be enough, it's packaged separately. it will provide wasm-ld. regardless of flags on clang.