RESOLVED FIXED304326
[WPE] Link jsc and other jsc-related binaries (testb3, testair, TestJavaScriptCore, etc) against libWPEWebKit
https://bugs.webkit.org/show_bug.cgi?id=304326
Summary [WPE] Link jsc and other jsc-related binaries (testb3, testair, TestJavaScrip...
Carlos Alberto Lopez Perez
Reported 2025-12-17 02:37:40 PST
We are having an issue with the Debug builds on WPE, those have grow a lot on size, more than 5GB and are causing issues. See bug 304213 An important part of this problem is the fact that in WPE there is no shared libjavascriptcore library like in GTK, and instead of linking against the shared library libWPEWebKit we are embedding (statically linking) all the libjavascriptcore code into the binaries. So we end with 9 binaries around 700MB in Debug when we could shrink all those binaries to <5MB by just linking dynamically against libWPEWebKit. This has the unfortunate side-effect than then when building jsc is needed to build the whole webkit. So then if you use the WPE port for building jsc, via "Tools/Scripts/build-jsc --wpe" the build will be slower because it has to build everything. Hopefully this is not an use case that matters, because it's possible to enable the GLib JSC API for JSCOnly builds or just use the WPE port for jsc-only builds.
Attachments
Carlos Alberto Lopez Perez
Comment 1 2025-12-17 02:49:48 PST
EWS
Comment 2 2025-12-18 02:12:54 PST
Committed 304666@main (0936e747abc4): <https://commits.webkit.org/304666@main> Reviewed commits have been landed. Closing PR #55550 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2025-12-18 02:13:14 PST
Note You need to log in before you can comment on or make changes to this bug.