<?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>214279</bug_id>
          
          <creation_ts>2020-07-13 15:05:22 -0700</creation_ts>
          <short_desc>[ews] watchos should build both arm64_32 and armv7k architectures</short_desc>
          <delta_ts>2020-07-14 12:31:02 -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>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=214147</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=214306</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=214310</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="Aakash Jain">aakash_jain</reporter>
          <assigned_to name="Aakash Jain">aakash_jain</assigned_to>
          <cc>aakash_jain</cc>
    
    <cc>ap</cc>
    
    <cc>darin</cc>
    
    <cc>jbedard</cc>
    
    <cc>keith_miller</cc>
    
    <cc>thorton</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>ysuzuki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1671179</commentid>
    <comment_count>0</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 15:05:22 -0700</bug_when>
    <thetext>watchos queue in EWS should build both arm64_32 and armv7k architectures. This will help in preventing build breakage on both architectures.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671182</commentid>
    <comment_count>1</comment_count>
      <attachid>404181</attachid>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 15:09:34 -0700</bug_when>
    <thetext>Created attachment 404181
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671185</commentid>
    <comment_count>2</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 15:12:14 -0700</bug_when>
    <thetext>Sample run: https://ews-build.webkit-uat.org/#/builders/42/builds/81</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671192</commentid>
    <comment_count>3</comment_count>
    <who name="Keith Miller">keith_miller</who>
    <bug_when>2020-07-13 15:18:31 -0700</bug_when>
    <thetext>(In reply to Aakash Jain from comment #2)
&gt; Sample run: https://ews-build.webkit-uat.org/#/builders/42/builds/81

I don&apos;t see any clang invocations using armv7k? Are you sure that&apos;s right? Does it need to be a clean build?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671199</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-07-13 15:28:42 -0700</bug_when>
    <thetext>I did review+ because the change looks logical and the EWS is green for watchOS.

But maybe it’s not working. Keith’s question does seem relevant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671250</commentid>
    <comment_count>5</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-13 18:08:57 -0700</bug_when>
    <thetext>(In reply to Keith Miller from comment #3)
&gt; (In reply to Aakash Jain from comment #2)
&gt; I don&apos;t see any clang invocations using armv7k? Are you sure that&apos;s right? Does it need to be a clean build?
That was due to missing parameter &apos;ONLY_ACTIVE_ARCH=NO&apos;. Fixed that in https://trac.webkit.org/r264327. Current patch should be good now.

However, it seems like the build is broken for armv7k, e.g.: https://ews-build.webkit-uat.org/#/builders/42/builds/93

In file included from Source/WebCore/editing/TextIterator.h:28:
Source/WebCore/editing/CharacterRange.h:74:26: error: implicit conversion loses integer precision: &apos;const uint64_t&apos; (aka &apos;const unsigned long long&apos;) to &apos;CFIndex&apos; (aka &apos;long&apos;) [-Werror,-Wshorten-64-to-32]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671252</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-07-13 18:11:14 -0700</bug_when>
    <thetext>We had a lot of breakage like this a while back. Someone changed the warning settings I think? Maybe Jonathan Bedard?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671253</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2020-07-13 18:11:40 -0700</bug_when>
    <thetext>There are other kinds of fixes for those warnings, but I think changing the settings is what someone chose to do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671413</commentid>
    <comment_count>8</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2020-07-14 10:11:39 -0700</bug_when>
    <thetext>(In reply to Darin Adler from comment #6)
&gt; We had a lot of breakage like this a while back. Someone changed the warning
&gt; settings I think? Maybe Jonathan Bedard?

That was the fix, although we need a bit more that that for armv7k, I&apos;ll have a patch ready on https://bugs.webkit.org/show_bug.cgi?id=214306 shortly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671451</commentid>
    <comment_count>9</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2020-07-14 11:38:50 -0700</bug_when>
    <thetext>Committed r264358: &lt;https://trac.webkit.org/changeset/264358&gt;

All reviewed patches have been landed. Closing bug and clearing flags on attachment 404181.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671452</commentid>
    <comment_count>10</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2020-07-14 11:39:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/65555319&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1671476</commentid>
    <comment_count>11</comment_count>
    <who name="Aakash Jain">aakash_jain</who>
    <bug_when>2020-07-14 12:31:02 -0700</bug_when>
    <thetext>Deployed on the EWS server. Seems to be working fine, e.g.: https://ews-build.webkit.org/#/builders/41/builds/342/steps/7/logs/stdio</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>404181</attachid>
            <date>2020-07-13 15:09:34 -0700</date>
            <delta_ts>2020-07-14 11:38:51 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-214279-20200713180933.patch</filename>
            <type>text/plain</type>
            <size>1103</size>
            <attacher name="Aakash Jain">aakash_jain</attacher>
            
              <data encoding="base64">SW5kZXg6IFRvb2xzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBUb29scy9DaGFuZ2VMb2cJKHJl
dmlzaW9uIDI2NDMxOCkKKysrIFRvb2xzL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwz
ICsxLDEyIEBACisyMDIwLTA3LTEzICBBYWthc2ggSmFpbiAgPGFha2FzaF9qYWluQGFwcGxlLmNv
bT4KKworICAgICAgICBbZXdzXSB3YXRjaG9zIHNob3VsZCBidWlsZCBib3RoIGFybTY0XzMyIGFu
ZCBhcm12N2sgYXJjaGl0ZWN0dXJlcworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9z
aG93X2J1Zy5jZ2k/aWQ9MjE0Mjc5CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BT
ISkuCisKKyAgICAgICAgKiBCdWlsZFNsYXZlU3VwcG9ydC9ld3MtYnVpbGQvY29uZmlnLmpzb246
CisKIDIwMjAtMDctMTMgIEdlb2ZmcmV5IEdhcmVuICA8Z2dhcmVuQGFwcGxlLmNvbT4KIAogICAg
ICAgICBVbnJldmlld2VkLCByZS1sYW5kaW5nIHIyNjQyNDIgd2l0aCBjcmFzaCBmaXhlZC4KSW5k
ZXg6IFRvb2xzL0J1aWxkU2xhdmVTdXBwb3J0L2V3cy1idWlsZC9jb25maWcuanNvbgo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09Ci0tLSBUb29scy9CdWlsZFNsYXZlU3VwcG9ydC9ld3MtYnVpbGQvY29uZmlnLmpzb24JKHJl
dmlzaW9uIDI2NDMxOCkKKysrIFRvb2xzL0J1aWxkU2xhdmVTdXBwb3J0L2V3cy1idWlsZC9jb25m
aWcuanNvbgkod29ya2luZyBjb3B5KQpAQCAtNDQyLDcgKzQ0Miw3IEBACiAgICAgICAiZmFjdG9y
eSI6ICJ3YXRjaE9TQnVpbGRGYWN0b3J5IiwKICAgICAgICJwbGF0Zm9ybSI6ICJ3YXRjaG9zLTYi
LAogICAgICAgImNvbmZpZ3VyYXRpb24iOiAicmVsZWFzZSIsCi0gICAgICAiYXJjaGl0ZWN0dXJl
cyI6IFsiYXJtNjRfMzIiXSwKKyAgICAgICJhcmNoaXRlY3R1cmVzIjogWyJhcm02NF8zMiIsICJh
cm12N2siXSwKICAgICAgICJ3b3JrZXJuYW1lcyI6IFsiZXdzMTYzIiwgImV3czE2NCIsICJld3Mx
NjUiXQogICAgIH0sCiAgICAgewo=
</data>

          </attachment>
      

    </bug>

</bugzilla>