<?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>149044</bug_id>
          
          <creation_ts>2015-09-10 13:44:04 -0700</creation_ts>
          <short_desc>REGRESSION(r189575): Appears to break ARM64 linux builds</short_desc>
          <delta_ts>2015-09-11 04:43:27 -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>JavaScriptCore</component>
          <version>Other</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>108645</blocked>
    
    <blocked>148666</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Saboff">msaboff</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1125006</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-09-10 13:44:04 -0700</bug_when>
    <thetext>Looking at build bot output, it appears that r189575 broke ARM64 linux builds.

Like this is fixed by replacing 4 occurrences of &quot;fp&quot; with &quot;x29&quot; in llintLowLevelInterpreter.asm.

Build output at https://build.webkit.org/builders/EFL%20Linux%20AArch64%20Release/builds/3263/steps/compile-webkit/logs/stdio:
FAILED: /usr/lib/icecc/bin_aarch64/aarch64-linux-gnu-g++  -w --sysroot=/ -I/usr/include -I/usr/include/aarch64-linux-gnu  -DBUILDING_EFL__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\&quot;/usr/local/share/ewebkit2-1\&quot; -DDEFAULT_THEME_DIR=\&quot;/home/oszi/slaves/efl-arm64/buildslave/efl-linux-aarch64-release/build/WebKitBuild/Release/WebCore/platform/efl/DefaultTheme\&quot; -DHAVE_CONFIG_H=1 -DJavaScriptCore_EXPORTS -DSTATICALLY_LINKED_WITH_WTF -DUSE_CROSS_PLATFORM_CONTEXT_MENUS=1 -DUSE_GSTREAMER_MPEGTS -DUSE_WEBAUDIO_GSTREAMER=1 -DWEBKIT_EXEC_PATH=\&quot;/home/oszi/slaves/efl-arm64/buildslave/efl-linux-aarch64-release/build/WebKitBuild/Release/bin\&quot; -DWEB_INSPECTOR_DIR=\&quot;/home/oszi/slaves/efl-arm64/buildslave/efl-linux-aarch64-release/build/WebKitBuild/Release/share/ewebkit2-1/inspector\&quot; -std=c++11 -std=c++11 -O3 -DNDEBUG -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-rtti -fPIC -I. -I../../Source/JavaScriptCore -I../../Source/JavaScriptCore/.. -I../../Source/JavaScriptCore/API -I../../Source/JavaScriptCore/ForwardingHeaders -I../../Source/JavaScriptCore/assembler -I../../Source/JavaScriptCore/bindings -I../../Source/JavaScriptCore/builtins -I../../Source/JavaScriptCore/bytecode -I../../Source/JavaScriptCore/bytecompiler -I../../Source/JavaScriptCore/dfg -I../../Source/JavaScriptCore/disassembler -I../../Source/JavaScriptCore/ftl -I../../Source/JavaScriptCore/heap -I../../Source/JavaScriptCore/debugger -I../../Source/JavaScriptCore/inspector -I../../Source/JavaScriptCore/inspector/agents -I../../Source/JavaScriptCore/inspector/augmentable -I../../Source/JavaScriptCore/inspector/remote -I../../Source/JavaScriptCore/interpreter -I../../Source/JavaScriptCore/jit -I../../Source/JavaScriptCore/llint -I../../Source/JavaScriptCore/llvm -I../../Source/JavaScriptCore/parser -I../../Source/JavaScriptCore/profiler -I../../Source/JavaScriptCore/replay -I../../Source/JavaScriptCore/runtime -I../../Source/JavaScriptCore/tools -I../../Source/JavaScriptCore/wasm -I../../Source/JavaScriptCore/yarr -IDerivedSources -IDerivedSources/ForwardingHeaders -IDerivedSources/JavaScriptCore -IDerivedSources/JavaScriptCore/inspector -I../../Source/JavaScriptCore/disassembler/udis86 -I../DependenciesEFL/Root/include/efl-1 -I../DependenciesEFL/Root/include/ecore-1 -I../DependenciesEFL/Root/include/glib-2.0 -I../DependenciesEFL/Root/lib/glib-2.0/include -I../DependenciesEFL/Root/include/eina-1 -I../DependenciesEFL/Root/include/eina-1/eina -I../DependenciesEFL/Root/include/eo-1 -I../../Source/WTF -I../../Source/WTF/wtf/efl -isystem /usr/include/aarch64-linux-gnu    -Werror -Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings -MMD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/llint/LowLevelInterpreter.cpp.o -MF &quot;Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/llint/LowLevelInterpreter.cpp.o.d&quot; -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/llint/LowLevelInterpreter.cpp.o -c ../../Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
/tmp/ccjhCOrJ.s: Assembler messages:
/tmp/ccjhCOrJ.s:664: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:665: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:719: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:720: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:774: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:775: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:834: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:835: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:912: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:913: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:991: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:992: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:1111: Error: integer 64-bit register expected at operand 3 -- `stp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:1112: Error: integer 64-bit register expected at operand 3 -- `stp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:4445: Error: integer 64-bit register expected at operand 3 -- `ldp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:4446: Error: integer 64-bit register expected at operand 3 -- `ldp x27,x28,[fp,#-16]&apos;
/tmp/ccjhCOrJ.s:4558: Error: integer 64-bit register expected at operand 3 -- `ldp xzr,x26,[fp,#-32]&apos;
/tmp/ccjhCOrJ.s:4559: Error: integer 64-bit register expected at operand 3 -- `ldp x27,x28,[fp,#-16]&apos;
ninja: build stopped: subcommand failed.
program finished with exit code 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125008</commentid>
    <comment_count>1</comment_count>
      <attachid>260948</attachid>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-09-10 13:48:32 -0700</bug_when>
    <thetext>Created attachment 260948
Patch with speculative fix for ARM64 Linux</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125009</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2015-09-10 13:50:40 -0700</bug_when>
    <thetext>Committed r189588: &lt;http://trac.webkit.org/changeset/189588&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1125039</commentid>
    <comment_count>3</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2015-09-10 15:00:53 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Committed r189588: &lt;http://trac.webkit.org/changeset/189588&gt;

Thanks for the fix.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>260948</attachid>
            <date>2015-09-10 13:48:32 -0700</date>
            <delta_ts>2015-09-10 13:49:20 -0700</delta_ts>
            <desc>Patch with speculative fix for ARM64 Linux</desc>
            <filename>149044.patch</filename>
            <type>text/plain</type>
            <size>1757</size>
            <attacher name="Michael Saboff">msaboff</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gU291
cmNlL0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkocmV2aXNpb24gMTg5NTg3KQorKysgU291cmNl
L0phdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE0IEBA
CisyMDE1LTA5LTEwICBNaWNoYWVsIFNhYm9mZiAgPG1zYWJvZmZAYXBwbGUuY29tPgorCisgICAg
ICAgIFJFR1JFU1NJT04ocjE4OTU3NSk6IEFwcGVhcnMgdG8gYnJlYWsgQVJNNjQgbGludXggYnVp
bGRzCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL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
ZiBBUk02NAotICAgICAgICBlbWl0ICJzdHAgeDI3LCB4MjgsIFtmcCwgIy0xNl0iCi0gICAgICAg
IGVtaXQgInN0cCB4enIsIHgyNiwgW2ZwLCAjLTMyXSIKKyAgICAgICAgZW1pdCAic3RwIHgyNywg
eDI4LCBbeDI5LCAjLTE2XSIKKyAgICAgICAgZW1pdCAic3RwIHh6ciwgeDI2LCBbeDI5LCAjLTMy
XSIKICAgICBlbHNpZiBNSVBTCiAgICAgZWxzaWYgU0g0CiAgICAgZWxzaWYgWDg2CkBAIC01Mzks
OCArNTM5LDggQEAgbWFjcm8gcmVzdG9yZUNhbGxlZVNhdmVzVXNlZEJ5TExJbnQoKQogICAgIGVs
c2lmIEFSTSBvciBBUk12N19UUkFESVRJT05BTAogICAgIGVsc2lmIEFSTXY3CiAgICAgZWxzaWYg
QVJNNjQKLSAgICAgICAgZW1pdCAibGRwIHh6ciwgeDI2LCBbZnAsICMtMzJdIgotICAgICAgICBl
bWl0ICJsZHAgeDI3LCB4MjgsIFtmcCwgIy0xNl0iCisgICAgICAgIGVtaXQgImxkcCB4enIsIHgy
NiwgW3gyOSwgIy0zMl0iCisgICAgICAgIGVtaXQgImxkcCB4MjcsIHgyOCwgW3gyOSwgIy0xNl0i
CiAgICAgZWxzaWYgTUlQUwogICAgIGVsc2lmIFNINAogICAgIGVsc2lmIFg4Ngo=
</data>
<flag name="review"
          id="286155"
          type_id="1"
          status="+"
          setter="fpizlo"
    />
          </attachment>
      

    </bug>

</bugzilla>