[Pkg-javascript-devel] Bug#975069: Bug#975069: emscripten: Incompatibilities with LLVM 11
Jonas Smedegaard
jonas at jones.dk
Wed Nov 18 18:36:12 GMT 2020
Control: tag + confirmed
Control: retitle -1 emstripten: uses partly incompatible LLVM 11 by default
Hi Sebastien,
Thanks for your bugreport - and for being the first known user of the
emscripten package in Debian (besides my own use of it for the olm
package).
Quoting Sebastien Jodogne (2020-11-18 18:55:15)
> 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?
If known which exact options LLVM 11 choke on, we can either have the
llvm-11 package cherry-pick patches to gain adequate support or hack
emscripten to not pass those options (if leading only to less optimized
code, not if leading to broken code, obviously).
> It turns out that such error is a consequence of the fact that
> Emscripten 2.0.x is expected to be run with LLVM 12. But, the patch
> "d/patches/2005_older_llvm.patch" allows to run Emscripten with LLVM
> 11, which might result in incompatibilities.
Correct, this is a (deliberately introduced) bug in the Debian packaging
of emscripten: Code has been patched to work with Debian at all, which
involves hacks to tolerate LLVM 11 despite it being well known that it
is unsupported by upstream emscripten developers and is known to
certainly fail for some uses.
Please do *not* bother upstream emscripten developers with this issue.
- 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/282c7986/attachment.sig>
More information about the Pkg-javascript-devel
mailing list