<?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>137194</bug_id>
          
          <creation_ts>2014-09-28 06:20:29 -0700</creation_ts>
          <short_desc>[GTK] [Stable] webkit-gtk-2.4.4: compilation failed on ARMv5</short_desc>
          <delta_ts>2017-10-18 02:48:51 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>
          <everconfirmed>1</everconfirmed>
          <reporter name="Pacho Ramos">pachoramos1</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>gnome</cc>
    
    <cc>gustavo</cc>
    
    <cc>ossy</cc>
    
    <cc>svillar</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1037776</commentid>
    <comment_count>0</comment_count>
    <who name="Pacho Ramos">pachoramos1</who>
    <bug_when>2014-09-28 06:20:29 -0700</bug_when>
    <thetext>Not sure if ARMv7 is mandatory or similar, but it looks to fail downstream with arm5:
https://bugs.gentoo.org/show_bug.cgi?id=523400

mv -f Source/JavaScriptCore/llint/.deps/libjavascriptcoregtk_1_0_la-LLIntThunks.Tpo Source/JavaScriptCore/llint/.deps/libjavascriptcoregtk_1_0_la-LLIntThunks.Plo
/bin/sh ./libtool  --tag=CXX   --mode=compile armv5tel-softfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I.  -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno
-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__   -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -
I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspecto
r -I./Source/JavaScriptCore/inspector/agents -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore
/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF  -fno-omit-frame-pointer -fno-tree-dce  -fno-rtti  -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include  -O2 -march=armv5te -pipe -pthread -std=c++11 -Wno-c++11
-compat   -MT Source/JavaScriptCore/llint/libjavascriptcoregtk_1_0_la-LowLevelInterpreter.lo -MD -MP -MF Source/JavaScriptCore/llint/.deps/libjavascriptcoregtk_1_0_la-LowLevelInterpreter.Tpo -c -o Source/JavaScriptCore/llint/libjavascriptcoregtk_1_0_la-LowLevelInterpreter
.lo `test -f &apos;Source/JavaScriptCore/llint/LowLevelInterpreter.cpp&apos; || echo &apos;./&apos;`Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
libtool: compile:  armv5tel-softfloat-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-paren
theses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -I./Source/JavaScriptCore/bytec
ode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspector -I./Source/JavaScriptCore/in
spector/agents -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCo
re/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-omit-frame-pointer -fno-tree-dce -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -O2 -march=armv5te -pipe -pthread -std=c++11 -Wno-c++11-compat -MT Source/JavaScriptCore/ll
int/libjavascriptcoregtk_1_0_la-LowLevelInterpreter.lo -MD -MP -MF Source/JavaScriptCore/llint/.deps/libjavascriptcoregtk_1_0_la-LowLevelInterpreter.Tpo -c Source/JavaScriptCore/llint/LowLevelInterpreter.cpp  -fPIC -DPIC -o Source/JavaScriptCore/llint/.libs/libjavascriptc
oregtk_1_0_la-LowLevelInterpreter.o
{standard input}: Assembler messages:
{standard input}:1533: Error: selected processor does not support ARM mode `vmov s2,r1&apos;
{standard input}:1534: Error: selected processor does not support ARM mode `vcvt.f64.s32 d1,s2&apos;
{standard input}:1538: Error: selected processor does not support ARM mode `vmov d1,r1,r4&apos;
{standard input}:1541: Error: selected processor does not support ARM mode `vmov d0,r0,r2&apos;
{standard input}:1542: Error: selected processor does not support ARM mode `vadd.f64 d0,d0,d1&apos;

...

make[1]: *** [Source/JavaScriptCore/llint/libjavascriptcoregtk_1_0_la-LowLevelInterpreter.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f Source/JavaScriptCore/llint/.deps/libjavascriptcoregtk_1_0_la-LLIntSlowPaths.Tpo Source/JavaScriptCore/llint/.deps/libjavascriptcoregtk_1_0_la-LLIntSlowPaths.Plo
make[1]: Leaving directory `/var/tmp/portage/net-libs/webkit-gtk-2.4.4-r200/work/webkitgtk-2.4.4&apos;
make: *** [all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1037931</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2014-09-29 08:17:18 -0700</bug_when>
    <thetext>These build error comes from LLINT (Low Level Interpretet) and it seems these
instructions are used from the beginning - https://trac.webkit.org/changeset/108444 . )

I think the easiest way to fix this issue it to disable JIT and 
only use the CLOOP interpreter on ARMv5.

Just try to define ENABLE_LLINT_C_LOOP to 1 before this check:
https://trac.webkit.org/browser/releases/WebKitGTK/webkit-2.4.4/Source/WTF/wtf/Platform.h#L651

I&apos;m not sure if this config was maintained that time, but 
maybe GTK folks can help to fix this config if it is needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361625</commentid>
    <comment_count>2</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2017-10-18 02:48:51 -0700</bug_when>
    <thetext>2.4.4 isn&apos;t supported anymore.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>