Hi Sam, We are actually using dynamic linking with MAIN_MODULE/SIDE_MODULE and using dlopen to load side module, and still the issue appears. That's why reverting the change you are talking about won't fix my problem as I need to pass -fPIC.
Is it possible to know the estimated time for binaryen fix. Regards, Rohit Saini On Wednesday, January 15, 2020 at 2:30:29 AM UTC+5:30, Sam Clegg wrote: > > IIRC the problem relates to projects that pass `-fPIC` to the compiler but > don't actually rely on PIC? (i.e you are not actually using dynamic > linking with MAIN_MODULE/SIDE_MODULE, right?). > > This real fix for this requires a binaryen-side fix which has do far > failed to land. > > In the mean time we could revert > https://github.com/emscripten-core/emscripten/pull/9750 which would > prevent `fPIC` from being passed through to clang. Can you verify if that > would work for you? > > cheers, > sam > > > > On Tue, Jan 14, 2020 at 11:24 AM Rohit Saini <[email protected] > <javascript:>> wrote: > >> Hi All, >> >> Our Team is trying to update to latest emscripten version. But totally >> blocked by this error GOT.func entry with no import/export: >> $emscripten_longjmp_jmpbuf while linking. Can anyone tell me what's the >> fix for this or any way to surpass this for now so that me can progress >> forward. >> >> Already logged issue link >> >> https://github.com/emscripten-core/emscripten/issues/9950 >> >> Regards, >> Rohit Saini >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/8b7e33ae-f3a0-4e01-bf56-e1e65a1f2b1b%40googlegroups.com >> >> <https://groups.google.com/d/msgid/emscripten-discuss/8b7e33ae-f3a0-4e01-bf56-e1e65a1f2b1b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/cf61691b-517f-45c2-9d88-00ce982638cf%40googlegroups.com.
