<?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>225581</bug_id>
          
          <creation_ts>2021-05-09 13:22:14 -0700</creation_ts>
          <short_desc>[WinCairo][Clang] lld-link: error: undefined symbol: public: static class GenericTypedArrayView&lt;&gt;::tryCreate() in CryptoKeyRSAOpenSSL.cpp</short_desc>
          <delta_ts>2021-05-09 14:22:17 -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>WebCore Misc.</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="Fujii Hironori">fujii</assigned_to>
          <cc>ews-watchlist</cc>
    
    <cc>jiewen_tan</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1758363</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-05-09 13:22:14 -0700</bug_when>
    <thetext>[WinCairo][Clang] lld-link: error: undefined symbol: public: static class GenericTypedArrayView&lt;&gt; in CryptoKeyRSAOpenSSL.cpp

Since r277142 (Bug 225294)

FAILED: bin64/WebKit.dll lib64/WebKit.lib 
cmd.exe /C &quot;cd . &amp;&amp; &quot;C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe&quot; -E vs_link_dll --intdir=Source\WebKitLegacy\CMakeFiles\WebKitLegacy.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100177~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100177~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\LLVM\bin\lld-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 /FORCE:MULTIPLE  /INCREMENTAL:NO  /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll  &amp;&amp; cmd.exe /C &quot;cd /D C:\jenkins_slave\wincairo-master\WebKitBuild\Release\Source\WebKitLegacy &amp;&amp; C:\Perl64\bin\perl.exe C:/jenkins_slave/WinCairo-master/WebKitLibraries/win/tools/scripts/version-stamp.pl C:/jenkins_slave/wincairo-master/WebKitBuild/Release/WebKitLegacy/DerivedSources C:/jenkins_slave/wincairo-master/WebKitBuild/Release/bin64/WebKit.dll&quot;&quot;
LINK: command &quot;C:\PROGRA~1\LLVM\bin\lld-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 /FORCE:MULTIPLE /INCREMENTAL:NO /DELAYLOAD:d3d9.dll /DELAYLOAD:dxva2.dll /DELAYLOAD:evr.dll /DELAYLOAD:mf.dll /DELAYLOAD:mfplat.dll /MANIFEST /MANIFESTFILE:bin64\WebKit.dll.manifest&quot; failed (exit code 1) with the following output:
lld-link: error: undefined symbol: public: static class WTF::RefPtr&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Uint8Adaptor&gt;, struct WTF::RawPtrTraits&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Uint8Adaptor&gt;&gt;, struct WTF::DefaultRefDerefTraits&lt;class JSC::GenericTypedArrayView&lt;struct JSC::Uint8Adaptor&gt;&gt;&gt; __cdecl JSC::GenericTypedArrayView&lt;struct JSC::Uint8Adaptor&gt;::tryCreate(unsigned char const *, unsigned int)
&gt;&gt;&gt; referenced by C:\jenkins_slave\WinCairo-master\Source\WebCore\crypto\openssl\CryptoKeyRSAOpenSSL.cpp:298
&gt;&gt;&gt;               Source\WebCore\CMakeFiles\WebCore.dir\.\crypto\openssl\CryptoKeyRSAOpenSSL.cpp.obj:(private: virtual class WTF::Variant&lt;struct WebCore::CryptoKeyAlgorithm, struct WebCore::CryptoAesKeyAlgorithm, struct WebCore::CryptoEcKeyAlgorithm, struct WebCore::CryptoHmacKeyAlgorithm, struct WebCore::CryptoRsaHashedKeyAlgorithm, struct WebCore::CryptoRsaKeyAlgorithm&gt; __cdecl WebCore::CryptoKeyRSA::algorithm(void) const)
&gt;&gt;&gt; referenced by C:\jenkins_slave\WinCairo-master\Source\WebCore\crypto\openssl\CryptoKeyRSAOpenSSL.cpp:290
&gt;&gt;&gt;               Source\WebCore\CMakeFiles\WebCore.dir\.\crypto\openssl\CryptoKeyRSAOpenSSL.cpp.obj:(private: virtual class WTF::Variant&lt;struct WebCore::CryptoKeyAlgorithm, struct WebCore::CryptoAesKeyAlgorithm, struct WebCore::CryptoEcKeyAlgorithm, struct WebCore::CryptoHmacKeyAlgorithm, struct WebCore::CryptoRsaHashedKeyAlgorithm, struct WebCore::CryptoRsaKeyAlgorithm&gt; __cdecl WebCore::CryptoKeyRSA::algorithm(void) const)
[5136/5722] Building CXX object Source\WebKit\CMakeFiles\WebKit.dir\Platform\IPC\win\AttachmentWin.cpp.obj
[5137/5722] Building CXX object Source\WebKit\CMakeFiles\WebKit.dir\NetworkProcess\curl\NetworkProcessMainCurl.cpp.obj
ninja: build stopped: subcommand failed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758366</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-05-09 14:08:16 -0700</bug_when>
    <thetext>This issue happens only in WinCairo Release clang-cl builds.
MSVC and Debug builds don&apos;t seem to have this issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758370</commentid>
    <comment_count>2</comment_count>
      <attachid>428135</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-05-09 14:20:11 -0700</bug_when>
    <thetext>Created attachment 428135
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758371</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-05-09 14:21:44 -0700</bug_when>
    <thetext>Committed r277253 (237522@main): &lt;https://commits.webkit.org/237522@main&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758372</commentid>
    <comment_count>4</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-09 14:22:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/77719634&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>428135</attachid>
            <date>2021-05-09 14:20:11 -0700</date>
            <delta_ts>2021-05-09 14:21:12 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-225581-20210510062010.patch</filename>
            <type>text/plain</type>
            <size>1334</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjc3MjUyCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb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