Sam Clegg
Sam Clegg
I'm curious what you think of the general direction here? Are these names important? Should the be short? Should they be only numbers in some cases or should we always...
Indeed wasm-gc is not supported by wabt. See https://github.com/WebAssembly/wabt/pull/2363 and https://github.com/WebAssembly/wabt/issues/2348
Can you perhaps attach the broken `tst.so ` file?
It looks like the shared library doesn't have any table usage, but it does have table element segment: ``` Elem[1]: - segment[0] flags=2 table=4294967295 count=3 - init global=2 - elem[0]...
Did you rebuild all of the input object and libraries that go in to `tst.so`. It seems like the `__indirect_function_table` symbol is missing in the output, but if I'm reading...
> What do you mean exactly? Build the fortran runtime from source like above? Or build emscripten from source? I mean build all your object files and libraries from source...
I believe the linker should be hitting an assert in this case. Can you trying installing the `-asserts` version of emedk to confirm (e.g `./emsdk install 4.0.5-asserts`.
I was able to reproduce this, but didn't manage to figure out all the details. I has to do with some pretty subtle/complex details of if/when we include the `__indirect_function_table`...
Generating a table for each signature and updating all the indirect calls to use a specific table is probably something that could be done in wasm-ld (the wasm linker in...
Ah, so that make this useful you need higher level type info, so it has to happen in LLVM, or even better in clang. Sounds like we should close this...