Running with EMCC_DEBUG=1 in the env will print out the linking command etc. Then you can use llvm-nm to look for symbols in those files, which can help debug things like this.
On Wed, Jun 5, 2019 at 12:19 AM שחר לנגבהיים <[email protected]> wrote: > Hi, > I'm trying to build Skia, integrate it into my c++ code, and then build it > into WASM, but when I call emcc I get several undefined symbol errors, > which don't happen with equivalent clang compilation. > What should I do in order to investigate why these symbols weren't > compiled or linked? Is there some verbose output I could go into in order > to understand the difference between clang and emcc's behavior? > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/f8b3b901-3adf-4f9a-932a-f90f95225f94%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/f8b3b901-3adf-4f9a-932a-f90f95225f94%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpRPVaAU9MCgb5txwq_9Ujrnz_%3D_-FkSfnwhjA0VMC0cWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
