<?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>37434</bug_id>
          
          <creation_ts>2010-04-11 21:58:05 -0700</creation_ts>
          <short_desc>[WINCE] Don&apos;t define WTF_CPU_MIDDLE_ENDIAN=1</short_desc>
          <delta_ts>2010-05-04 02:03:40 -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>Web Template Framework</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</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>38511</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Kwang Yul Seo">skyul</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>joybro201</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>paroga</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>211538</commentid>
    <comment_count>0</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2010-04-11 21:58:05 -0700</bug_when>
    <thetext>Windows CE supports little-endian format only, so don&apos;t define WTF_CPU_MIDDLE_ENDIAN=1. Otherwise, it causes a crash in dtoa.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>211539</commentid>
    <comment_count>1</comment_count>
      <attachid>53145</attachid>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2010-04-11 22:04:44 -0700</bug_when>
    <thetext>Created attachment 53145
Patch

MSDN mentions that Windows CE supports little-endian format only.

http://msdn.microsoft.com/en-us/library/ms905093.aspx</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212252</commentid>
    <comment_count>2</comment_count>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-13 23:14:27 -0700</bug_when>
    <thetext>Should we define __ARM_EABI__ for WinCE instead ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>212735</commentid>
    <comment_count>3</comment_count>
    <who name="Kwang Yul Seo">skyul</who>
    <bug_when>2010-04-14 21:14:14 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Should we define __ARM_EABI__ for WinCE instead ?

We can add __ARM_EABI__ to the preprocessor definition in MSVC project or vsprops. However, as we don&apos;t have a build system for WinCE, I think it is better to keep the guard here. It seems Android does the same thing.

Who defines __ARM_EABI__ in other platforms?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213243</commentid>
    <comment_count>4</comment_count>
    <who name="Patrick R. Gansterer">paroga</who>
    <bug_when>2010-04-16 03:54:19 -0700</bug_when>
    <thetext>I did the same patch in my working copy too, but didn&apos;t find the MSDN entry about the little-endian format ;-).
I think this patch is ok since ANDROID does the same &quot;hack&quot; and we don&apos;t have a WinCE buildsystem in the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213907</commentid>
    <comment_count>5</comment_count>
      <attachid>53145</attachid>
    <who name="Laszlo Gombos">laszlo.gombos</who>
    <bug_when>2010-04-18 21:51:26 -0700</bug_when>
    <thetext>Comment on attachment 53145
Patch

r=me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213908</commentid>
    <comment_count>6</comment_count>
      <attachid>53145</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-18 22:13:36 -0700</bug_when>
    <thetext>Comment on attachment 53145
Patch

Clearing flags on attachment: 53145

Committed r57804: &lt;http://trac.webkit.org/changeset/57804&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>213909</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-04-18 22:13:41 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>53145</attachid>
            <date>2010-04-11 22:04:44 -0700</date>
            <delta_ts>2010-04-18 22:13:36 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>endian.patch</filename>
            <type>text/plain</type>
            <size>1033</size>
            <attacher name="Kwang Yul Seo">skyul</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDU3NDY5KQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMTAtMDQtMTEgIEt3YW5nIFl1
bCBTZW8gIDxza3l1bEBjb21wYW55MTAwLm5ldD4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBbV0lOQ0VdIERvbid0IGRlZmluZSBXVEZfQ1BVX01JRERM
RV9FTkRJQU49MQorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9Mzc0MzQKKworICAgICAgICBXaW5kb3dzIENFIHN1cHBvcnRzIGxpdHRsZS1lbmRpYW4gZm9y
bWF0IG9ubHksIHNvIGRvbid0IGRlZmluZQorICAgICAgICBXVEZfQ1BVX01JRERMRV9FTkRJQU49
MS4KKworICAgICAgICAqIHd0Zi9QbGF0Zm9ybS5oOgorCiAyMDEwLTA0LTExICBNYXJrIFJvd2Ug
IDxtcm93ZUBhcHBsZS5jb20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgU2FtIFdlaW5pZy4KSW5k
ZXg6IEphdmFTY3JpcHRDb3JlL3d0Zi9QbGF0Zm9ybS5oCj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIEphdmFTY3Jp
cHRDb3JlL3d0Zi9QbGF0Zm9ybS5oCShyZXZpc2lvbiA1NzQ2OCkKKysrIEphdmFTY3JpcHRDb3Jl
L3d0Zi9QbGF0Zm9ybS5oCSh3b3JraW5nIGNvcHkpCkBAIC0yMDIsNiArMjAyLDcgQEAKICNlbGlm
ICFkZWZpbmVkKF9fQVJNX0VBQklfXykgXAogICAgICYmICFkZWZpbmVkKF9fRUFCSV9fKSBcCiAg
ICAgJiYgIWRlZmluZWQoX19WRlBfRlBfXykgXAorICAgICYmICFkZWZpbmVkKF9XSU4zMl9XQ0Up
IFwKICAgICAmJiAhZGVmaW5lZChBTkRST0lEKQogI2RlZmluZSBXVEZfQ1BVX01JRERMRV9FTkRJ
QU4gMQogCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>