<?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>14744</bug_id>
          
          <creation_ts>2007-07-24 03:55:36 -0700</creation_ts>
          <short_desc>Cross-compilation broken by recent pcre change</short_desc>
          <delta_ts>2011-06-13 23:06:13 -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>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Koen Kooi">koen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>zecke</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>3841</commentid>
    <comment_count>0</comment_count>
    <who name="Koen Kooi">koen</who>
    <bug_when>2007-07-24 03:55:36 -0700</bug_when>
    <thetext>It looks like r24411 introduced running the just built &apos;dftables&apos;, which of course doesn&apos;t work when crosscompiling x86-&gt;arm, since my opteron chokes on armv5te instructions.

The error

echo &quot;#include &lt;string.h&gt;&quot; &gt; /data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/webkit-0.0+svn20070724-r1/WebKitBuilds/Debug//WebCore/tmp/DocTypeStrings.cpp &amp;&amp; gperf -CEot -L ANSI-C -k &apos;*&apos; -N findDoctypeEntry -F ,PubIDInfo::eAlmostStandards,PubIDInfo::eAlmostStandards &lt; /data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/webkit-0.0+svn20070724-r1/WebCore/html/DocTypeStrings.gperf &gt;&gt; /data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/webkit-0.0+svn20070724-r1/WebKitBuilds/Debug//WebCore/tmp/DocTypeStrings.cpp/data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/webkit-0.0+svn20070724-r1/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/dftables tmp/chartables.c/data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/webkit-0.0+svn20070724-r1/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/dftables: /data/build/koen/OE/build/tmp/angstrom/work/armv5te-angstrom-linux-gnueabi/webkit-0.0+svn20070724-r1/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/dftables: cannot execute binary filemake[1]: *** [tmp/chartables.c] Error 126

Could this be changes to run an external dftables (e.g. dftables from x86 pcre) or back out the offending cset?

WebkitGdk did work brilliantly on my arm devices before this cset.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3818</commentid>
    <comment_count>1</comment_count>
    <who name="Koen Kooi">koen</who>
    <bug_when>2007-07-24 08:23:02 -0700</bug_when>
    <thetext>As I said in the starting comment:

&quot;WebkitGdk did work brilliantly on my arm devices before this cset.&quot;

So tagging it with &apos;QT&apos; is useless</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>3744</commentid>
    <comment_count>2</comment_count>
    <who name="Koen Kooi">koen</who>
    <bug_when>2007-07-25 03:19:49 -0700</bug_when>
    <thetext>I worked around this with:

--- packages/webkit/webkit/WebKit.pro	63fd1bd947de2d3abe6a011685e6173bf0a804e1
+++ packages/webkit/webkit/WebKit.pro	c4db9377c267835f4ec934a4d53207e26c25b99c
@@ -1,9 +1,8 @@ SUBDIRS += \
 TEMPLATE = subdirs
 CONFIG += ordered
 !gdk-port:CONFIG += qt-port
 qt-port:SUBDIRS += WebKitQt/Plugins
 SUBDIRS += \
-        JavaScriptCore/pcre/dftables.pro \
         WebCore \
         JavaScriptCore/kjs/testkjs.pro

and doing

        cd ${S}/JavaScriptCore/pcre 
        ${BUILD_CC} dftables.c -o dftables -I. -I../wtf
        cp dftables ${S}/WebKitBuilds/Debug/JavaScriptCore/pcre/tmp/

before starting (q)make</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66760</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2008-01-10 10:25:47 -0800</bug_when>
    <thetext>Is this still an issue?  See also Bug 16818.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>420232</commentid>
    <comment_count>4</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2011-06-13 23:06:13 -0700</bug_when>
    <thetext>We no longer use PCRE, I don&apos;t believe this bug can still be live.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>