| Issue |
174140
|
| Summary |
[clang][lld] wasm cannot cross compile webassembly binary
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
trcrsired
|
clang++ -o test_push_back.wasm test_push_back.cc -O3 -std=c++26 -fuse-ld=lld --target=wasm64-wasip1 --sysroot=$HOME/toolchains/llvm/wasm-sysroots/wasm-noeh-memtag-sysroot/wasm64-wasip1 -rtlib=compiler-rt --unwindlib=libunwind -stdlib=libc++ -lc++abi -fsanitize=memtag -fno-exceptions -I$HOME/libraries/fast_io/include -s -flto=thin --debug
[parse exception: unknown misc operation: 47 (at 0:7193)]
Fatal: error parsing wasm (try --debug for more info)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs