[Webkit-unassigned] [Bug 219457] [WPE][JSC] Some JSC GLib API symbols are not being exported

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 8 01:54:41 PST 2020


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

--- Comment #1 from Adrian Perez <aperez at igalia.com> ---
Okay, I think that the most proper solution for this issue will
be what Don is hacking for bug #210366 but I have a WIP patch which
only does the minimal set up to arrange linker flags to pass the
following when linking the main library when the JavaScriptCore
target is a static library:

  -Wl,--whole-archive path/to/libJavaScriptCore.a -Wl,--no-whole-archive

This results in the following public API symbols being correctly
defined in the resulting libWPEWebKit-1.0.so file:

% diff -u symbols.{before,after}
--- symbols.before      2020-12-07 22:43:25.668206879 +0200
+++ symbols.after       2020-12-08 11:47:42.071833177 +0200
@@ -45,6 +45,25 @@
 jsc_exception_new_with_name_vprintf
 jsc_exception_report
 jsc_exception_to_string
+jsc_get_major_version
+jsc_get_micro_version
+jsc_get_minor_version
+jsc_options_foreach
+jsc_options_get_boolean
+jsc_options_get_double
+jsc_options_get_int
+jsc_options_get_option_group
+jsc_options_get_range_string
+jsc_options_get_size
+jsc_options_get_string
+jsc_options_get_uint
+jsc_options_set_boolean
+jsc_options_set_double
+jsc_options_set_int
+jsc_options_set_range_string
+jsc_options_set_size
+jsc_options_set_string
+jsc_options_set_uint
 jsc_value_constructor_call
 jsc_value_constructor_callv
 jsc_value_function_call
@@ -94,6 +113,9 @@
 jsc_value_to_string_as_bytes
 jsc_virtual_machine_get_type
 jsc_virtual_machine_new
+jsc_weak_value_get_type
+jsc_weak_value_get_value
+jsc_weak_value_new
 webkit_accessible_get_type
 webkit_accessible_hyperlink_get_type
 webkit_application_info_get_name
%

-- 
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/20201208/08062b67/attachment-0001.htm>


More information about the webkit-unassigned mailing list