So far the most serious bug report since the switch is -fPIC,

https://github.com/emscripten-core/emscripten/issues/9690#issuecomment-546307328

As a workaround, don't pass -fPIC unless you are building a MAIN_MODULE or 
a SIDE_MODULE.

Or, switch back to fastcomp for now until we fix this. Sorry!

- Alon


On Monday, October 21, 2019 at 3:17:48 PM UTC-7, Alon Zakai wrote:
>
> Hello everyone,
>
> The emsdk will now install the upstream LLVM backend by default, instead 
> of fastcomp, as of
>
> https://github.com/emscripten-core/emsdk/pull/373
>
> That is, if you install/activate "latest" then you get the same as 
> "latest-upstream". It used to be an alias for "latest-fastcomp".
>
> You can still use "latest-fastcomp" to get fastcomp if you need that. You 
> can also install stuff like "1.39.0-fastcomp", a version with a specific 
> backend.
>
> The emsdk defaults to the upstream backend from 1.39.0, but not earlier 
> versions, as the upstream backend wasn't stable enough yet at those times. 
> (But you can as always do "1.38.39-upstream" to get upstream for those 
> versions.) In other words, the only thing that changed now is that for 
> 1.39.0 and onwards, if you don't specify the backend, you'll get upstream.
>
> We are changing the default now after a long period of recommending people 
> upgrade to the LLVM backend and fixing issues based on their feedback, as a 
> result of which at this point we feel comfortable changing the default.
>
> Please test and file bugs if you find any! All you need to do is update to 
> the latest emsdk master from github, and
>
> ./emsdk install latest
> ./emsdk activate latest
>
> If this is your first time using the upstream backend, see the list of 
> differences,
>
> https://emscripten.org/docs/compiling/WebAssembly.html#backends
>
> Our goal is to remove fastcomp eventually, and it is now officially 
> deprecated, but we will only start to plan that after seeing the feedback 
> from users after this switch.
>
> - Alon
>
>

-- 
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/11000eed-dd68-4d91-aea3-39221b0fca29%40googlegroups.com.

Reply via email to