[Webkit-unassigned] [Bug 153117] [GTK OSX] libGObjectDOMBindings.a is not linked into libwebkit2gtk-4.0.37.dylib

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 15 08:57:43 PST 2016


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

--- Comment #8 from Jeremy Huddleston Sequoia <jeremyhu at apple.com> ---
> Should this be -Wl,-all_load ${library} -Wl,-no-all_load

No.

> or does it not work the same as --whole-archive?

It does not.  There is nothing exactly analogous.  There are two similar options in ld64:

-all_load
Loads all members of static archive libraries.

-force_load path_to_archive
Loads all members of the specified static archive library.  Note: -all_load forces all members
of all archives to be loaded.  This option allows you to target a specific archive.


-force_load would be ideal if we had a contract that the arguments to the macro were always static archives that we built for inclusion in the library.  I tried that first, and it didn't work because the macro is called with arguments other than just static archives that we had built.  -all_load is thus the ideal choice, and it's also used elsewhere in the build already.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160115/550450c8/attachment.html>


More information about the webkit-unassigned mailing list