<?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>204643</bug_id>
          
          <creation_ts>2019-11-27 05:39:26 -0800</creation_ts>
          <short_desc>[GTK] [2.27.3] GCMemoryOperations.h: Unknown architecture</short_desc>
          <delta_ts>2019-12-01 10:18:49 -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>WebKitGTK</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>204701</dup_id>
          
          <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="Alberto Garcia">berto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>mark.lam</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1593859</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2019-11-27 05:39:26 -0800</bug_when>
    <thetext>The latest development release of WebKitGTK fails to build in several
non-major architectures (mips64el, ppc64el, s390x, ...):

../Source/JavaScriptCore/heap/GCMemoryOperations.h:125:2: error: #error &quot;Unknown architecture.&quot;
  125 | #error &quot;Unknown architecture.&quot;

A quick look suggests that functions like gcSafeMemcpy() and possibly
others have fast implementations in x86_64 and arm64 but fall back to
a slower memcpy implementation in other cases.

The detection of when to use the slow path seems to be incorrect,
hence the error.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594182</commentid>
    <comment_count>1</comment_count>
    <who name="Yusuke Suzuki">ysuzuki</who>
    <bug_when>2019-11-29 05:47:23 -0800</bug_when>
    <thetext>We should add ENABLE_CONCURRENT_GC in Platform.h, and enable it only for X64 / ARM64.
And we should also ensure USE_CONCURRENT_JS is enabled in x64 / ARM64. Then, we should use regular memset/memcpy for non concurrent environment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1594429</commentid>
    <comment_count>2</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2019-12-01 10:18:49 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 204701 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>