[Webkit-unassigned] [Bug 179358] New: [WPE] Use linker script to control exported symbols

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 6 18:48:51 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179358

            Bug ID: 179358
           Summary: [WPE] Use linker script to control exported symbols
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit WPE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com
                CC: bugs-noreply at webkitgtk.org
            Blocks: 178894

The C API is being inadvertently exported because it's marked as WEBKIT_EXPORT in the header files. But of course it should only be exported in DEVELOPER_MODE, where it's needed for WebKitTestRunner. Use (almost) the same linker version script as GTK to fix this. It's slightly different because WPE does not have WebKitPluginProcess.

This also reduces binary size of libWPEWebKit.so in debug mode from 615 MB down to 497 MB. (Haven't checked release mode.)

This will break the WIP fdo backend of dyz. We should discuss which parts of the C API are really needed there (I don't immediately see anything), and how to expose them in the GLib API if needed.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=178894
[Bug 178894] [WPE] Create the first stable release of WPE
-- 
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/20171107/23595e43/attachment.html>


More information about the webkit-unassigned mailing list