[Webkit-unassigned] [Bug 198093] [CMake] Build with hidden visibility by default

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 22 10:20:38 PDT 2019


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

--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Also https://bugs.webkit.org/show_bug.cgi?id=181438#c40 and r226945.

Note, in particular, from bug #179914:

"""
Adding _ZN7bmalloc10PerProcessINS_12IsoTLSLayoutEE8s_objectE to the global section in the filter file fixes the crash
"""

To use -fvisibility=hidden, every global template is going to need to be listed in the linker version script. You will need to add a script to the build process to ensure the build fails if any symbols are missed. In bug #179914, Carlos indicates that he had a script that gets you partway there, at least at the time. You might ask him about that. Note there is an extern "C++" syntax to avoid the need to use mangled names in the linker script.

-- 
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/20190522/2ffdce80/attachment.html>


More information about the webkit-unassigned mailing list