[webkit-dev] WebCore/platform standalone library

Fujii Hironori fujii.hironori at gmail.com
Sat Jan 14 06:16:19 PST 2017


On Sat, Jan 14, 2017 at 1:34 AM, Konstantin Tokarev <annulen at yandex.ru> wrote:
>
> Static library is just an (indexed) archive of object files, symbol dependencies are not resolved when it is created. Instead this happens when static library is linked into shared library or executable.
>
> If PAL is static and uses symbol from WebCore, link failure may happen only[*] if that symbol is not used anywhere in WebCore itself (provided that PAL stays after WebCore in linker command line and options like --start-group/--end-group are not used).
>
> [*] Assuming linker behavior similar to ELF linkers

You can check unresolved symbols of the static library by creating a
unit test executable of PAL.


More information about the webkit-dev mailing list