<?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>234658</bug_id>
          
          <creation_ts>2021-12-23 23:17:22 -0800</creation_ts>
          <short_desc>REGRESSION(r287412)[WinCairo] error C2338: You&apos;ve instantiated std::aligned_storage&lt;Len, Align&gt; with an extended alignment (in other words, Align &gt; alignof(max_align_t)).</short_desc>
          <delta_ts>2021-12-23 23:48:17 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit2</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=234571</see_also>
          <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>annulen</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>kkinnunen</cc>
    
    <cc>ryuan.choi</cc>
    
    <cc>sergio</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1826691</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-12-23 23:17:22 -0800</bug_when>
    <thetext>REGRESSION(r287412)[WinCairo] error C2338: You&apos;ve instantiated std::aligned_storage&lt;Len, Align&gt; with an extended alignment (in other words, Align &gt; alignof(max_align_t)).

After r287412, WinCairo Debug can&apos;t compile

FAILED: Source/WebKit/CMakeFiles/WebKit.dir/__/__/WebKit/DerivedSources/unified-sources/UnifiedSource-88d1702b-21.cpp.obj 
C:\MSVS\VC\Tools\MSVC\14.28.29910\bin\Hostx64\x64\cl.exe (...) WebKit\DerivedSources\unified-sources\UnifiedSource-88d1702b-21.cpp
C:\MSVS\VC\Tools\MSVC\14.28.29910\include\type_traits(1066): error C2338: You&apos;ve instantiated std::aligned_storage&lt;Len, Align&gt; with an extended alignment (in other words, Align &gt; alignof(max_align_t)). Before VS 2017 15.8, the member &quot;type&quot; would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (*only* for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conforming behavior.
C:\MSVS\VC\Tools\MSVC\14.28.29910\include\type_traits(1086): note: see reference to class template instantiation &apos;std::_Aligned&lt;32,16,std::_Aligned&lt;32,16,std::_Aligned&lt;32,16,std::_Aligned&lt;32,16,std::aligned_storage&lt;32,16&gt;::_Next,false&gt;::_Next,false&gt;::_Next,false&gt;::_Next,false&gt;&apos; being compiled
C:\MSVS\VC\Tools\MSVC\14.28.29910\include\type_traits(1093): note: see reference to class template instantiation &apos;std::_Aligned&lt;32,16,std::_Aligned&lt;32,16,std::_Aligned&lt;32,16,std::aligned_storage&lt;32,16&gt;::_Next,false&gt;::_Next,false&gt;::_Next,false&gt;&apos; being compiled
C:\MSVS\VC\Tools\MSVC\14.28.29910\include\type_traits(1100): note: see reference to class template instantiation &apos;std::_Aligned&lt;32,16,std::_Aligned&lt;32,16,std::aligned_storage&lt;32,16&gt;::_Next,false&gt;::_Next,false&gt;&apos; being compiled
C:\MSVS\VC\Tools\MSVC\14.28.29910\include\type_traits(1107): note: see reference to class template instantiation &apos;std::_Aligned&lt;32,16,std::aligned_storage&lt;32,16&gt;::_Next,false&gt;&apos; being compiled

https://build.webkit.org/#/builders/38/builds/10271</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826693</commentid>
    <comment_count>1</comment_count>
      <attachid>447930</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-12-23 23:45:31 -0800</bug_when>
    <thetext>Created attachment 447930
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826694</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2021-12-23 23:47:31 -0800</bug_when>
    <thetext>Committed r287422 (245557@trunk): &lt;https://commits.webkit.org/245557@trunk&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826695</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-12-23 23:48:17 -0800</bug_when>
    <thetext>&lt;rdar://problem/86877506&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>447930</attachid>
            <date>2021-12-23 23:45:31 -0800</date>
            <delta_ts>2021-12-23 23:45:31 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-234658-20211224164530.patch</filename>
            <type>text/plain</type>
            <size>2182</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMjg3NDIxCmRpZmYgLS1naXQgYS9Tb3VyY2UvY21ha2UvT3B0
aW9uc01TVkMuY21ha2UgYi9Tb3VyY2UvY21ha2UvT3B0aW9uc01TVkMuY21ha2UKaW5kZXggNWUx
ZGYxOTc2Mjk3MjY1MWMxNTgxYTQ3ZDdkMjE2Y2FjNjk4YjU3Yi4uZmJjYjEwMDU2ZDVhMWYzNzc4
Mj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