[PATCH] D92215: [WebAssembly] MC layer writes table symbols to object files
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 18 14:19:00 PST 2021
sbc100 added a comment.
In D92215#2505347 <https://reviews.llvm.org/D92215#2505347>, @dmajor wrote:
> Hi, after this commit our builds of wasi-sdk have broken because wasi-libc's makefile [1] finds an undefined symbol for `__indirect_function_table` that wasn't in its expected list [2].
>
> Just to check, is this intended? Does the undefined-symbols.txt need an update?
>
> [1] https://github.com/WebAssembly/wasi-libc/blob/master/Makefile#L506
> [2] https://github.com/WebAssembly/wasi-libc/blob/master/expected/wasm32-wasi/undefined-symbols.txt
My understanding is that `__indirect_function_table` should not be imported (at least not under normal circumstances) but should be created by the linker at link time. Do you happen to have the failing link command or a link to the build log?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D92215/new/
https://reviews.llvm.org/D92215
More information about the llvm-commits
mailing list