<?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>269360</bug_id>
          
          <creation_ts>2024-02-14 05:45:42 -0800</creation_ts>
          <short_desc>[WPE] REGRESSION(274544@main): Build fails due to Clang -Wcast-align errors</short_desc>
          <delta_ts>2024-02-14 13:21:25 -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>Tools / Tests</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=269190</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=269350</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="Adrian Perez">aperez</reporter>
          <assigned_to name="Adrian Perez">aperez</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2013479</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-02-14 05:45:42 -0800</bug_when>
    <thetext>There&apos;s a few like these:

   --- 8&lt; ---

In file included from /app/webkit/Tools/wpe/backends/fdo/HeadlessViewBackendFdo.cpp:40:
/app/webkit/WebKitBuild/WPE/Release/Skia/Headers/skia/core/SkPixmap.h:419:16: error: cast from &apos;const char *&apos; to &apos;const uint16_t *&apos; (aka &apos;const unsigned short *&apos;) increases required alignment from 1 to 2 [-Werror,-Wcast-align]
        return (const uint16_t*)((const char*)this-&gt;addr16() + (size_t)y * fRowBytes + (x &lt;&lt; 1));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/app/webkit/WebKitBuild/WPE/Release/Skia/Headers/skia/core/SkPixmap.h:437:16: error: cast from &apos;const char *&apos; to &apos;const uint32_t *&apos; (aka &apos;const unsigned int *&apos;) increases required alignment from 1 to 4 [-Werror,-Wcast-align]
        return (const uint32_t*)((const char*)this-&gt;addr32() + (size_t)y * fRowBytes + (x &lt;&lt; 2));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/app/webkit/WebKitBuild/WPE/Release/Skia/Headers/skia/core/SkPixmap.h:455:16: error: cast from &apos;const char *&apos; to &apos;const uint64_t *&apos; (aka &apos;const unsigned long *&apos;) increases required alignment from 1 to 8 [-Werror,-Wcast-align]
        return (const uint64_t*)((const char*)this-&gt;addr64() + (size_t)y * fRowBytes + (x &lt;&lt; 3));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   --- 8&lt; ---

These were introduced ion 274613@main and 274544@main</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013481</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-02-14 05:51:42 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24411</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013490</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-14 06:49:13 -0800</bug_when>
    <thetext>Committed 274624@main (36d87a9c88b9): &lt;https://commits.webkit.org/274624@main&gt;

Reviewed commits have been landed. Closing PR #24411 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013491</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-14 06:50:14 -0800</bug_when>
    <thetext>&lt;rdar://problem/122946052&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013563</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-02-14 10:56:45 -0800</bug_when>
    <thetext>Re-opening because GCC will complain about unknown pragmas due to
the -Wunknown-pragmas option :\</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013568</commentid>
    <comment_count>5</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2024-02-14 11:09:48 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/24434</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2013633</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-02-14 13:21:24 -0800</bug_when>
    <thetext>Committed 274654@main (45d96da23f01): &lt;https://commits.webkit.org/274654@main&gt;

Reviewed commits have been landed. Closing PR #24434 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>