<?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>17019</bug_id>
          
          <creation_ts>2008-01-26 03:48:26 -0800</creation_ts>
          <short_desc>Webkit does not build on linux powerpc</short_desc>
          <delta_ts>2008-03-21 12:27: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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://paste.lisp.org/display/54743</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Rune B">baggetun</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alp</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>mrowe</cc>
    
    <cc>patrys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>68286</commentid>
    <comment_count>0</comment_count>
    <who name="Rune B">baggetun</who>
    <bug_when>2008-01-26 03:48:26 -0800</bug_when>
    <thetext>Tested with two linux powerpc boxes (see DDR models http://en.wikipedia.org/wiki/Power_Mac_G4). one with Debian Lenny (Testing) and  one with Ubuntu 7.04. Building Webkit (with --enable-video --enable-svg) on both fails with same error message. At another Debian Lenny box K7/AMD architecture Webkit builds with no error message (using same version of gcc etc).


Error message:

g++ -DHAVE_CONFIG_H -I. -I./JavaScriptCore -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/wtf -I./JavaScriptCore/kjs -I./DerivedSources -DBUILDING_GTK__=1 -DWTF_CHANGES -DXP_UNIX -DNDEBUG -DENABLE_ICONDATABASE=0 -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/bindings -I./JavaScriptCore/bindings/c -I./JavaScriptCore/pcre -I./JavaScriptCore/kjs -D_REENTRANT -I/usr/include -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 -fvisibility-inlines-hidden -fno-rtti -fno-exceptions -fvisibility=hidden -fstrict-aliasing -O2 -MT JavaScriptCore/kjs/libJavaScriptCore_la-AllInOneFile.lo -MD -MP -MF JavaScriptCore/kjs/.deps/libJavaScriptCore_la-AllInOneFile.Tpo -c JavaScriptCore/kjs/AllInOneFile.cpp  -fPIC -DPIC -o JavaScriptCore/kjs/.libs/libJavaScriptCore_la-AllInOneFile.o
/tmp/cczT9o46.s: Assembler messages:
/tmp/cczT9o46.s:20238: Error: syntax error; found `,&apos; but expected `(&apos;
/tmp/cczT9o46.s:20238: Error: junk at end of line: `,11&apos;
make[1]: *** [JavaScriptCore/kjs/libJavaScriptCore_la-AllInOneFile.lo] Error 1
make[1]: Leaving directory `/home/intermedia/apps/WebKit&apos;
make: *** [all] Error 2
intermedia@ubuntu-ppc:~/apps/WebKit $ 


Debian Lenny uname -a 
Linux powerdeb 2.6.22-3-powerpc-smp

Ubuntu 7.04 uname -a
Linux ubuntu-ppc 2.6.20-16-powerpc-smp #3 SMP Tue Dec 18 07:56:48 UTC 2007 ppc GNU/Linux


a@ubuntu-ppc:~/apps/WebKit $ g++ --version
g++ (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu4)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Relevant assembly/disassembly code:
http://paste.lisp.org/display/54743</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69119</commentid>
    <comment_count>1</comment_count>
    <who name="Alp Toker">alp</who>
    <bug_when>2008-02-01 15:17:51 -0800</bug_when>
    <thetext>Was anyone apart from Rune B able to confirm this issue?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71236</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-02-20 07:36:26 -0800</bug_when>
    <thetext>Related to Bug 14521?

Per Mark&apos;s annotation of &lt;http://paste.lisp.org/display/54743&gt;, it&apos;s the same section of code with the &quot;=o&quot; and &quot;=m&quot; workaround.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74669</commentid>
    <comment_count>3</comment_count>
    <who name="Patryk Zawadzki">patrys</who>
    <bug_when>2008-03-21 11:50:42 -0700</bug_when>
    <thetext>Bug #17449 has a working patch. Please apply and mark #17449 as dup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74675</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-03-21 12:18:11 -0700</bug_when>
    <thetext>*** Bug 17449 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74677</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-03-21 12:27:02 -0700</bug_when>
    <thetext>Patch in http://bugs.webkit.org/show_bug.cgi?id=17449#c2.

Committed r31216

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>