[Webkit-unassigned] [Bug 273435] PDF.js contains binary code
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 1 15:11:57 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=273435
--- Comment #5 from Michael Catanzaro <mcatanzaro at redhat.com> ---
Another problem with emscripten, from https://github.com/emscripten-core/emscripten/blob/3745ad8c37f0eab93de7ef4989dc4f6665f3675e/docs/packaging.md
"""
One important thing to note here is that emscripten doesn't currently support the stable LLVM releases. It requires a build of LLVM from top-of-tree, or at least very close to it. This means that depending on a packaged version of LLVM is unlikely to work.
"""
But we're not *not* going to use a packaged version of LLVM, so failure seems likely. In particular, the Debian package's README has some concerning caveats:
"""
Using features requiring newer LLVM may lead to errors like this:
* Function addresses with offsets not supported
* TLS symbol is undefined, but TLS symbols cannot yet be imported
* unknown argument: '-mrelaxed-simd'
"""
This means bundling our own Emscripten is also a no-go unless we're also willing to add LLVM to Source/ThirdParty, which would be overkill and probably double the time it takes to build WebKit. Let's not.
Their packaging documentation is really good though. Too bad!
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240501/e6089fcf/attachment.htm>
More information about the webkit-unassigned
mailing list