Open
Description
I'm working on a project where this musl fork would be very helpful, since it includes what's necessary to target WASM without adding anything additional.
When I try to build compiler-rt
I get this error:
wasm-ld: error: /opt/puter/musl/lib/crt1.o: undefined symbol: main
I've also tried adding main
to wasm.syms
which actually worked and I compiled compiler-rt, and then an example program but my output .wasm
file didn't work. (going in an infinite loop? Probably _start
calling _start
or something because my hacky fix didn't make any sense)
I think I'm missing an important step
Metadata
Assignees
Labels
No labels