<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>203483</bug_id>
          
          <creation_ts>2019-10-28 03:12:53 -0700</creation_ts>
          <short_desc>[Windows][Clang] error LNK2001: unresolved external symbol &quot;void * __cdecl JSC::allocateCell&lt;class JSC::JSGenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt; &gt;(class JSC::Heap &amp;,unsigned __int64)&quot;</short_desc>
          <delta_ts>2019-10-28 03:33:13 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1584411</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-28 03:12:53 -0700</bug_when>
    <thetext>[Windows][Clang] error LNK2001: unresolved external symbol &quot;void * __cdecl JSC::allocateCell&lt;class JSC::JSGenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt; &gt;(class JSC::Heap &amp;,unsigned __int64)&quot;

clang-cl can&apos;t build WinCairo since r251584 (Bug 203391).

[4648/5085] Linking CXX shared library bin64\WebKit.dll
FAILED: bin64/WebKit.dll lib64/WebKit.lib 
cmd.exe /C &quot;cd . &amp;&amp; &quot;C:\Program Files\CMake\bin\cmake.exe&quot; -E vs_link_dll --intdir=Source\WebKitLegacy\CMakeFiles\WebKitLegacy.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1423~1.281\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\WebKitLegacy.rsp  /out:bin64\WebKit.dll /implib:lib64\WebKit.lib /pdb:bin64\WebKit.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:WINDOWS  /INCREMENTAL:NO   &amp;&amp; cmd.exe /C &quot;cd /D C:\webkit\gb\WebKitBuild\Release\Source\WebKitLegacy &amp;&amp; C:\Perl64\bin\perl.exe C:/webkit/gb/WebKitLibraries/win/tools/scripts/version-stamp.pl C:/webkit/gb/WebKitBuild/Release/WebKitLegacy/DerivedSources C:/webkit/gb/WebKitBuild/Release/bin64/WebKit.dll&quot;&quot;
LINK: command &quot;C:\PROGRA~2\MIB055~1\2019\PROFES~1\VC\Tools\MSVC\1423~1.281\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\WebKitLegacy.rsp /out:bin64\WebKit.dll /implib:lib64\WebKit.lib /pdb:bin64\WebKit.pdb /dll /version:0.0 /machine:x64 /DEBUG /OPT:ICF /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:WINDOWS /INCREMENTAL:NO /MANIFEST /MANIFESTFILE:bin64\WebKit.dll.manifest&quot; failed (exit code 1120) with the following output:
   Creating library lib64\WebKit.lib and object lib64\WebKit.exp
WebCore.lib(UnifiedSource-2f84417a-10.cpp.obj) : error LNK2019: unresolved external symbol &quot;void * __cdecl JSC::allocateCell&lt;class JSC::JSGenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt; &gt;(class JSC::Heap &amp;,unsigned __int64)&quot; (??$allocateCell@V?$JSGenericTypedArrayView@UFloat32Adaptor@JSC@@@JSC@@@JSC@@YAPEAXAEAVHeap@0@_K@Z) referenced in function &quot;public: static class JSC::JSGenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt; * __cdecl JSC::JSGenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt;::create(class JSC::VM &amp;,class JSC::Structure *,class WTF::RefPtr&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt;,struct WTF::DumbPtrTraits&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt; &gt; &gt; &amp;&amp;)&quot; (?create@?$JSGenericTypedArrayView@UFloat32Adaptor@JSC@@@JSC@@SAPEAV12@AEAVVM@2@PEAVStructure@2@$$QEAV?$RefPtr@V?$GenericTypedArrayView@UFloat32Adaptor@JSC@@@JSC@@U?$DumbPtrTraits@V?$GenericTypedArrayView@UFloat32Adaptor@JSC@@@JSC@@@WTF@@@WTF@@@Z)
WebCore.lib(UnifiedSource-4babe430-44.cpp.obj) : error LNK2001: unresolved external symbol &quot;void * __cdecl JSC::allocateCell&lt;class JSC::JSGenericTypedArrayView&lt;struct JSC::Float32Adaptor&gt; &gt;(class JSC::Heap &amp;,unsigned __int64)&quot; (??$allocateCell@V?$JSGenericTypedArrayView@UFloat32Adaptor@JSC@@@JSC@@@JSC@@YAPEAXAEAVHeap@0@_K@Z)
WebCore.lib(UnifiedSource-2f84417a-10.cpp.obj) : error LNK2019: unresolved external symbol &quot;void * __cdecl JSC::allocateCell&lt;class JSC::JSGenericTypedArrayView&lt;struct JSC::Float64Adaptor&gt; &gt;(class JSC::Heap &amp;,unsigned __int64)&quot; (??$allocateCell@V?$JSGenericTypedArrayView@UFloat64Adaptor@JSC@@@JSC@@@JSC@@YAPEAXAEAVHeap@0@_K@Z) referenced in function &quot;public: static class JSC::JSGenericTypedArrayView&lt;struct JSC::Float64Adaptor&gt; * __cdecl JSC::JSGenericTypedArrayView&lt;struct JSC::Float64Adaptor&gt;::create(class JSC::VM &amp;,class JSC::Structure *,class WTF::RefPtr&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Float64Adaptor&gt;,struct WTF::DumbPtrTraits&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Float64Adaptor&gt; &gt; &gt; &amp;&amp;)&quot; (?create@?$JSGenericTypedArrayView@UFloat64Adaptor@JSC@@@JSC@@SAPEAV12@AEAVVM@2@PEAVStructure@2@$$QEAV?$RefPtr@V?$GenericTypedArrayView@UFloat64Adaptor@JSC@@@JSC@@U?$DumbPtrTraits@V?$GenericTypedArrayView@UFloat64Adaptor@JSC@@@JSC@@@WTF@@@WTF@@@Z)
bin64\WebKit.dll : fatal error LNK1120: 2 unresolved externals</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1584413</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-28 03:13:44 -0700</bug_when>
    <thetext>Here is the content of UnifiedSource-2f84417a-10.cpp

#include &quot;css/CSSValuePool.cpp&quot;
#include &quot;css/CSSVariableData.cpp&quot;
#include &quot;css/CSSVariableReferenceValue.cpp&quot;
#include &quot;css/DOMCSSNamespace.cpp&quot;
#include &quot;css/DOMCSSPaintWorklet.cpp&quot;
#include &quot;css/DOMCSSRegisterCustomProperty.cpp&quot;
#include &quot;css/DOMMatrix.cpp&quot;
#include &quot;css/DOMMatrixReadOnly.cpp&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1584414</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-28 03:14:16 -0700</bug_when>
    <thetext>This is a similar issue with Bug 193481.

Bug 193481 – Add &apos;inline&apos; specifier for declarations for its definitions are defined in separate headers (…Inlines.h)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1584416</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-28 03:17:03 -0700</bug_when>
    <thetext>runtime/JSGenericTypedArrayViewInlines.h is using allocateCell without including JSCellInlines.h.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1584421</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2019-10-28 03:32:23 -0700</bug_when>
    <thetext>Committed r251652: &lt;https://trac.webkit.org/changeset/251652&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1584424</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-10-28 03:33:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/56665319&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>