[Webkit-unassigned] [Bug 172267] [Win] error LNK2005: WebCore::JSNode::checkSubClassPatchpoint() already defined in WebKit.lib

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 19 01:34:55 PDT 2017


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

--- Comment #7 from Yusuke Suzuki <utatane.tea at gmail.com> ---
(In reply to Fujii Hironori from comment #5)
> By checking with dumpbin, I've confirmed checkSubClassPatchpoint was
> exported from WebKit.dll.
> I'm guessing a following simple scenario.
> 
> 1) JSDocumentDOMJIT.cpp was compiled with dllexport in WebCore
> 2) The linker included JSDocumentDOMJIT.cpp.obj into WebKit.dll
> 3) The linker found some dllexport-marked symbols in
> JSDocumentDOMJIT.cpp.obj and exported them from WebKit.dll
> 
> I admit that this hypothesis doesn't explain comment 4.

Right. I've just checked the generated JSNode.cpp in DerivedSoure.
And I've found that, whole JSNode class is annotated by WEBCORE_EXPORT,
while JSDocumentFragment is not.

-- 
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/20170519/ad098799/attachment.html>


More information about the webkit-unassigned mailing list