Apologies if this has already been discussed or asking an obviously dumb 
question, but shouldn't emcc be able to remove any unsupported options 
before passing them to wasm-ld without having to manually maintain a list 
of unsupported options, since emcc and wasm-ld are essentially 
"version-locked"?

On Thursday, 26 March 2020 02:45:52 UTC+1, Sam Clegg wrote:
>
> After going back and forth on this issue I'm hoping to once again allow 
> arbitrary flags to be passed to the linker (wasm-ld) via the command line 
> (-Wl,xxx):  https://github.com/emscripten-core/emscripten/pull/10747.
>
> This means that some people will see linker errors because they (or thier 
> build systems) pass flags via `-Wl,xxx` that wasm-ld doesn't handle.  If 
> you encounter such errors you have we have two possible solutions for you:
>
> 1. Remove the offending flag from the linker command.
> 2. Add it to the list of flags that emscripten will ignore not not pass 
> onto the linker (`UNSUPPORTED_LLD_FLAGS`).
>
> Hopefully with a combination of these two solutions the fallout of this 
> change should be minimal.
>
> cheers,
> sam
>

-- 
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/0fcaf075-541b-48e5-9163-2c3b0ab33261%40googlegroups.com.

Reply via email to