<?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>214369</bug_id>
          
          <creation_ts>2020-07-15 12:07:13 -0700</creation_ts>
          <short_desc>[run-javascriptcore-tests] nativeArchitecture should never be arm64e</short_desc>
          <delta_ts>2020-07-15 14:00:21 -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>Tools / Tests</component>
          <version>Safari 13</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="Jonathan Bedard">jbedard</reporter>
          <assigned_to name="Jonathan Bedard">jbedard</assigned_to>
          <cc>ryanhaddad</cc>
    
    <cc>saam</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1671855</commentid>
    <comment_count>0</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-15 12:07:13 -0700</bug_when>
    <thetext>For internal builds, architecture should be arm64e by default, but native architecture should be arm64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671856</commentid>
    <comment_count>1</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-15 12:08:38 -0700</bug_when>
    <thetext>&lt;rdar://problem/65364995&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671858</commentid>
    <comment_count>2</comment_count>
      <attachid>404371</attachid>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-15 12:12:54 -0700</bug_when>
    <thetext>Created attachment 404371
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671885</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-07-15 13:03:22 -0700</bug_when>
    <thetext>Committed r264416: &lt;https://trac.webkit.org/changeset/264416&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 404371.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671888</commentid>
    <comment_count>4</comment_count>
    <who name="Saam Barati">saam</who>
    <bug_when>2020-07-15 13:05:50 -0700</bug_when>
    <thetext>(In reply to Jonathan Bedard from comment #0)
&gt; For internal builds, architecture should be arm64e by default, but native
&gt; architecture should be arm64.

What’s the distinction for? These function names make it difficult to see what it’s used for and why your fix is needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671889</commentid>
    <comment_count>5</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2020-07-15 13:07:00 -0700</bug_when>
    <thetext>(Agreed, I think we need better names or comments about why this is so wacky)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671924</commentid>
    <comment_count>6</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-15 14:00:21 -0700</bug_when>
    <thetext>(In reply to Saam Barati from comment #4)
&gt; (In reply to Jonathan Bedard from comment #0)
&gt; &gt; For internal builds, architecture should be arm64e by default, but native
&gt; &gt; architecture should be arm64.
&gt; 
&gt; What’s the distinction for? These function names make it difficult to see
&gt; what it’s used for and why your fix is needed.

&apos;architecture&apos; means &apos;the architecture the user intends to build or test with&apos; while &apos;native architecture&apos; means &apos;the architecture that a machine will use to run code&apos;

Renaming probably isn&apos;t practical (since architecture is used in code not checked into WebKit), so comments are probably the way to go.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>404371</attachid>
            <date>2020-07-15 12:12:54 -0700</date>
            <delta_ts>2020-07-15 13:03:23 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-214369-20200715121253.patch</filename>
            <type>text/plain</type>
            <size>1638</size>
            <attacher name="Jonathan Bedard">jbedard</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI2NDQwOSkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDE1IEBACisyMDIwLTA3LTE1ICBKb25hdGhhbiBCZWRhcmQgIDxqYmVkYXJkQGFwcGxlLmNv
bT4KKworICAgICAgICBbcnVuLWphdmFzY3JpcHRjb3JlLXRlc3RzXSBuYXRpdmVBcmNoaXRlY3R1
cmUgc2hvdWxkIG5ldmVyIGJlIGFybTY0ZQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9y
Zy9zaG93X2J1Zy5jZ2k/aWQ9MjE0MzY5CisgICAgICAgIDxyZGFyOi8vcHJvYmxlbS82NTM2NDk5
NT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFNj
cmlwdHMvd2Via2l0ZGlycy5wbToKKyAgICAgICAgKGRldGVybWluZU5hdGl2ZUFyY2hpdGVjdHVy
ZSk6CisgICAgICAgIChkZXRlcm1pbmVBcmNoaXRlY3R1cmUpOgorCiAyMDIwLTA3LTE1ICBSeWFu
IEhhZGRhZCAgPHJ5YW5oYWRkYWRAYXBwbGUuY29tPgogCiAgICAgICAgIEZsYWt5IEFQSSBUZXN0
OiBUZXN0V2ViS2l0QVBJLlNsZWVwRGlz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hjb2RlU0RLIGVxICJtYWNvc3guaW50ZXJuYWwiKSB7CisgICAgICAgICAgICAkYXJjaGl0ZWN0
dXJlID0gImFybTY0ZSI7CisgICAgICAgIH0KKyAgICB9CiAKICAgICBpZiAoaXNBcHBsZUNvY29h
V2ViS2l0KCkpIHsKICAgICAgICAgZGV0ZXJtaW5lWGNvZGVTREsoKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>