[Pkg-javascript-devel] Bug#975069: Bug#975069: emscripten: Incompatibilities with LLVM 11
Jonas Smedegaard
jonas at jones.dk
Wed Nov 18 20:22:38 GMT 2020
Quoting Sébastien Jodogne (2020-11-18 20:49:27)
> I think there will be other topics to be discussed,
Indeed. Please file separate bugreports for each topic.
>>> When building a large C++ project using the current package, the
>>> WebAssembly linking might fail with error "emscripten:ERROR:
>>> emscript: failure to parse metadata output from
>>> wasm-emscripten-finalize".
>>
>> Which exact options passed to wasm-emscripten-finalize?
>
> After inspection of "/usr/share/emscripten/emscripten.py", the options are:
>
> ['--detect-features', '--minimize-wasm-changes', '--dyncalls-i64',
> '--global-base=1024']
>
> You'll find the error log attached to this mail.
>
> Note how "wasm-emscripten-finalize" produced an invalid JSON file: It
> contains percents that are not properly escaped. From what I see on a
> working emsdk deployment, no function starting with "__invoke" in the
> "declares" section should be present.
Thanks for those details.
That log was using the experimental package and local config, right?
It would be helpful if you could share how far you got using the package
in unstable instead, and no custom config. I.e. using llvm-11.
Yes, I am aware that you already mention it doesn't work, but package in
experimental was a _failed_ experiment to use newer emscripten (no
Debian package supports LLVM 12, as you also found out).
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20201118/3262cda7/attachment.sig>
More information about the Pkg-javascript-devel
mailing list