Bug 304326
| Summary: | [WPE] Link jsc and other jsc-related binaries (testb3, testair, TestJavaScriptCore, etc) against libWPEWebKit | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Alberto Lopez Perez <clopez> |
| Component: | New Bugs | Assignee: | Carlos Alberto Lopez Perez <clopez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=305186 | ||
Carlos Alberto Lopez Perez
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Alberto Lopez Perez
Pull request: https://github.com/WebKit/WebKit/pull/55550
EWS
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
<rdar://problem/166775016>