<?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>280614</bug_id>
          
          <creation_ts>2024-09-30 07:09:12 -0700</creation_ts>
          <short_desc>REGRESSION(284376@main)[WPE]: Build broken with GCC and ARM64</short_desc>
          <delta_ts>2024-09-30 12:08: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>WPE WebKit</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=280370</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Carlos Alberto Lopez Perez">clopez</reporter>
          <assigned_to name="Carlos Alberto Lopez Perez">clopez</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>daniel_liu4</cc>
    
    <cc>keith_miller</cc>
    
    <cc>mark.lam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2064229</commentid>
    <comment_count>0</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2024-09-30 07:09:12 -0700</bug_when>
    <thetext>Since r284376@main landed the bot WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build is failing the build with:


FAILED: Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/__/__/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-6.cpp.o 
[...]
In file included from /home/buildbot/worker/WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build/build/WebKitBuild/WPE/Release_rpi4-64bits-mesa/JavaScriptCore/DerivedSources/unified-sources/UnifiedSource-ee8a7a7a-6.cpp:4:
/home/buildbot/worker/WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build/build/Source/JavaScriptCore/heap/MarkedBlock.cpp: In member function ‘void JSC::MarkedBlock::dumpInfoAndCrashForInvalidHandle(WTF::AbstractLocker&amp;, JSC::HeapCell*)’:
/home/buildbot/worker/WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build/build/Source/JavaScriptCore/heap/MarkedBlock.cpp:583:32: error: address of explicit register variable ‘savedActualVM’ requested
  583 |         VMInspector::forEachVM([&amp;](VM&amp; vm) {
      |                                ^~~~~~~~~~~~~
  584 |             if (blockVM == &amp;vm) {
      |             ~~~~~~~~~~~~~~~~~~~~~
  585 |                 isValidBlockVM = true;
      |                 ~~~~~~~~~~~~~~~~~~~~~~
  586 |                 SAVE_TO_REG(savedActualVM, &amp;vm);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  587 |                 SAVE_TO_REG(savedBitfield, 8);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  588 |                 LOG_INVALID_HANDLE_DETAILS(&quot;block VM %p is valid\n&quot;, &amp;vm);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  589 |                 return IterationStatus::Done;
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  590 |             }
      |             ~                   
  591 |             return IterationStatus::Continue;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  592 |         });
      |         ~                       
/home/buildbot/worker/WPE-Linux-RPi4-64bits-Mesa-Release-Perf-Build/build/Source/JavaScriptCore/heap/MarkedBlock.cpp:619:32: error: address of explicit register variable ‘savedActualVM’ requested
  619 |         VMInspector::forEachVM([&amp;](VM&amp; vm) {
      |                                ^~~~~~~~~~~~~
  620 |             MarkedSpace&amp; objectSpace = vm.heap.objectSpace();
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  621 |             isBlockInVM = objectSpace.blocks().set().contains(this);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  622 |             isBlockHandleInVM = !!objectSpace.findMarkedBlockHandleDebug(this);
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  623 |             // Either of them is true indicates that the block belongs or used to belong to the VM.
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  624 |             if (isBlockInVM || isBlockHandleInVM) {
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  625 |                 actualVM = &amp;vm;
      |                 ~~~~~~~~~~~~~~~ 
  626 |                 LOG_INVALID_HANDLE_DETAILS(&quot;block in another VM: %d, block in another VM: %d; other VM is %p\n&quot;, isBlockInVM, isBlockHandleInVM, &amp;vm);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  627 | 
      |                                 
  628 |                 SAVE_TO_REG(savedActualVM, actualVM);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  629 |                 SAVE_TO_REG(savedBitfield, (isValidBlockVM ? 8 : 0) | (isBlockInVM ? 4 : 0) | (isBlockHandleInVM ? 2 : 0) | (foundBlockInThisVM ? 1 : 0));
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  630 | 
      |                                 
  631 |                 return IterationStatus::Done;
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  632 |             }
      |             ~                   
  633 |             return IterationStatus::Continue;
      |             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  634 |         });
      |         ~                       

See: https://build.webkit.org/#/builders/894/builds/15698</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064231</commentid>
    <comment_count>1</comment_count>
    <who name="Carlos Alberto Lopez Perez">clopez</who>
    <bug_when>2024-09-30 07:15:44 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/34450</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2064307</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-09-30 12:08:13 -0700</bug_when>
    <thetext>Committed 284460@main (964f4b1be9b5): &lt;https://commits.webkit.org/284460@main&gt;

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

    </bug>

</bugzilla>