I have shared a zip file with code that demonstrates the problem. It's too large to attach so is shared at https://drive.google.com/file/d/1K7jzX1_alAv-T6js7JWaGMgNkiwkMwfs/view?usp=sharing
The code is all built consistently with the same flags i use here. If i link it with --llvm-lto we see the problem. If i just use -flto then it links fine. I am building on windows so have included a batch file build.bat which just does the linking both ways and the zip contains all the object files needed to reproduce the problem. I hope this is enough for someone to investigate it. -- 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/22e2162d-d41b-4f1d-93d9-317acff62891%40googlegroups.com.
