[Webkit-unassigned] [Bug 248986] New: [JSC] Avoid maintaining a list of hidden stdlib symbols
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 8 15:50:54 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=248986
Bug ID: 248986
Summary: [JSC] Avoid maintaining a list of hidden stdlib
symbols
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: emw at apple.com
We manually maintain a list of symbols to hide from JavaScriptCore in OTHER_LDFLAGS_HIDE_SYMBOLS, which (as I understand it) prevents us from inadvertently exporting weak symbols for C++ standard library operator instantiations. This is a bit of annoying maintenance, as the symbols we need to hide may change arbitrarily with toolchain updates (recently: https://github.com/WebKit/WebKit/pull/6060, https://github.com/WebKit/WebKit/pull/7352). Can we do anything to avoid the maintenance?
One idea is to have a build step that analyzes object files as they are compiled and produces a list of weak stdlib symbols, which can then be passed to the linker via -unexported_symbols_list.
--
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/20221208/ac624c17/attachment.htm>
More information about the webkit-unassigned
mailing list