<?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>97772</bug_id>
          
          <creation_ts>2012-09-27 04:12:48 -0700</creation_ts>
          <short_desc>Compilation failure on Windows-64 because of enabled YARR_JIT</short_desc>
          <delta_ts>2012-10-01 01:59:30 -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>Platform</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</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>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kai Koehne">kai.koehne</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>benjamin</cc>
    
    <cc>hausmann</cc>
    
    <cc>mark.lam</cc>
    
    <cc>net147</cc>
    
    <cc>roger_fong</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>729404</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Koehne">kai.koehne</who>
    <bug_when>2012-09-27 04:12:48 -0700</bug_when>
    <thetext>Compiling latest qtwebkit with Mingw-w64 compiler results in:


jit\ExecutableAllocatorFixedVMPool.cpp:34:22: fatal error: sys/mman.h: No such file or directory



This is because of change https://bugs.webkit.org/show_bug.cgi?id=91052 , where YARR_JIT gets now defined to 1 . This results in ASSEMBLER to be defined to 1, too, which causes ENABLE_EXECUTABLE_ALLOCATOR_FIXED to be defined to 1 ....


Following the reasoning in https://bugs.webkit.org/process_bug.cgi we shouldn&apos;t enable any JIT for WIndows-64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729413</commentid>
    <comment_count>1</comment_count>
      <attachid>165973</attachid>
    <who name="Kai Koehne">kai.koehne</who>
    <bug_when>2012-09-27 04:23:55 -0700</bug_when>
    <thetext>Created attachment 165973
Disables YARR_JIT for Windows 64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729418</commentid>
    <comment_count>2</comment_count>
      <attachid>165973</attachid>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2012-09-27 04:30:45 -0700</bug_when>
    <thetext>Comment on attachment 165973
Disables YARR_JIT for Windows 64.

View in context: https://bugs.webkit.org/attachment.cgi?id=165973&amp;action=review

&gt; Source/WTF/ChangeLog:8
&gt; +        JIT has to be disabled in general on Windows-64.

I think this could be explained with more than one sentence :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>729426</commentid>
    <comment_count>3</comment_count>
    <who name="Kai Koehne">kai.koehne</who>
    <bug_when>2012-09-27 04:47:10 -0700</bug_when>
    <thetext>I&apos;d actually wanted to link to https://bugs.webkit.org/show_bug.cgi?id=65313 as the bug/commit disabling JIT for WIndows 64 in general.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730519</commentid>
    <comment_count>4</comment_count>
      <attachid>166216</attachid>
    <who name="Kai Koehne">kai.koehne</who>
    <bug_when>2012-09-28 05:05:57 -0700</bug_when>
    <thetext>Created attachment 166216
Disables YARR_JIT for Windows 64

It&apos;s still a sentence, though a longer one ;)

I&apos;m not sure whether Assembler/JIT is not available on Windows 64 bit in principle, or if it&apos;s just the mmap.h dependency that breaks it. However, the enabling of yarr_jit on Windows was done most probably by accident by the patch enabling llint, and this patch just reverts to the original behavior (no jit, no yarr_jit, no assembler on windows 64 bit) .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730520</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-28 05:07:41 -0700</bug_when>
    <thetext>Attachment 166216 did not pass style-queue:

Failed to run &quot;[&apos;Tools/Scripts/check-webkit-style&apos;, &apos;--diff-files&apos;, u&apos;Source/WTF/ChangeLog&apos;, u&apos;Source/WTF/wtf/Pl...&quot; exit_code: 1
Source/WTF/ChangeLog:9:  Line contains tab character.  [whitespace/tab] [5]
Source/WTF/ChangeLog:10:  Line contains tab character.  [whitespace/tab] [5]
Total errors found: 2 in 2 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730524</commentid>
    <comment_count>6</comment_count>
      <attachid>166218</attachid>
    <who name="Kai Koehne">kai.koehne</who>
    <bug_when>2012-09-28 05:09:11 -0700</bug_when>
    <thetext>Created attachment 166218
Disables YARR_JIT for Windows 64

This time with spaces instead of tabs ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730625</commentid>
    <comment_count>7</comment_count>
      <attachid>166218</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-28 07:12:32 -0700</bug_when>
    <thetext>Comment on attachment 166218
Disables YARR_JIT for Windows 64

Clearing flags on attachment: 166218

Committed r129893: &lt;http://trac.webkit.org/changeset/129893&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>730626</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-09-28 07:12:36 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>731492</commentid>
    <comment_count>9</comment_count>
    <who name="Jonathan Liu">net147</who>
    <bug_when>2012-10-01 01:59:30 -0700</bug_when>
    <thetext>A problem we have now is that the classic interpreter has been removed from WebKit so either JIT or LLINT must be enabled. Disabling JIT causes LLINT to be enabled but LLINT doesn&apos;t build properly on Windows yet:
llint\LowLevelInterpreter.cpp:329:35: fatal error: LLIntAssembly.h: No such file
 or directory</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>165973</attachid>
            <date>2012-09-27 04:23:55 -0700</date>
            <delta_ts>2012-09-28 06:46:22 -0700</delta_ts>
            <desc>Disables YARR_JIT for Windows 64.</desc>
            <filename>disable_yarr_jit_on_windows64.patch</filename>
            <type>text/plain</type>
            <size>948</size>
            <attacher name="Kai Koehne">kai.koehne</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nIGIvU291cmNlL1dURi9DaGFuZ2VMb2cK
aW5kZXggMTRjYzQyMi4uODJmZTQzNyAxMDA2NDQKLS0tIGEvU291cmNlL1dURi9DaGFuZ2VMb2cK
KysrIGIvU291cmNlL1dURi9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNCBAQAorMjAxMi0wOS0yNyAg
S2FpIEtvZWhuZSAgPGthaS5rb2VobmVAZGlnaWEuY29tPgorCisgICAgICAgIERpc2FibGUgWUFS
Ul9KSVQgZm9yIFdpbmRvd3MgNjQgYml0CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD05Nzc3MgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09Q
UyEpLgorCisgICAgICAgIEpJVCBoYXMgdG8gYmUgZGlzYWJsZWQgaW4gZ2VuZXJhbCBvbiBXaW5k
b3dzLTY0LgorCisgICAgICAgICogd3RmL1BsYXRmb3JtLmg6CisKIDIwMTItMDktMjYgIEdhdmlu
IEJhcnJhY2xvdWdoICA8YmFycmFjbG91Z2hAYXBwbGUuY29tPgogCiAgICAgICAgIFN0cmluZy5s
b2NhbGVDb21wYXJlIHNob3VsZCBub3JtYWxpemUgaW5wdXQKZGlmZiAtLWdpdCBhL1NvdXJjZS9X
VEYvd3RmL1BsYXRmb3JtLmggYi9Tb3VyY2UvV1RGL3d0Zi9QbGF0Zm9ybS5oCmluZGV4IDg4M2I0
N2IuLmNkZjk5ODEgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9XVEYvd3RmL1BsYXRmb3JtLmgKKysrIGIv
U291cmNlL1dURi93dGYvUGxhdGZvcm0uaApAQCAtODc2LDYgKzg3Niw3IEBACiAvKiBKSVQgaXMg
bm90IGltcGxlbWVudGVkIGZvciBXaW5kb3dzIDY0LWJpdCAqLwogI2lmICFkZWZpbmVkKEVOQUJM
RV9KSVQpICYmIE9TKFdJTkRPV1MpICYmIENQVShYODZfNjQpCiAjZGVmaW5lIEVOQUJMRV9KSVQg
MAorI2RlZmluZSBFTkFCTEVfWUFSUl9KSVQgMAogI2VuZGlmCiAKICNpZiAhZGVmaW5lZChFTkFC
TEVfSklUKSAmJiBDUFUoU0g0KSAmJiBQTEFURk9STShRVCkK
</data>

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>166216</attachid>
            <date>2012-09-28 05:05:57 -0700</date>
            <delta_ts>2012-09-28 05:09:11 -0700</delta_ts>
            <desc>Disables YARR_JIT for Windows 64</desc>
            <filename>disable_yarr_jit_on_windows64.patch</filename>
            <type>text/plain</type>
            <size>1057</size>
            <attacher name="Kai Koehne">kai.koehne</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nIGIvU291cmNlL1dURi9DaGFuZ2VMb2cK
aW5kZXggZmYzNDI1MS4uZmUyOTE4OCAxMDA2NDQKLS0tIGEvU291cmNlL1dURi9DaGFuZ2VMb2cK
KysrIGIvU291cmNlL1dURi9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNiBAQAorMjAxMi0wOS0yOCAg
S2FpIEtvZWhuZSAgPGthaS5rb2VobmVAZGlnaWEuY29tPgorCisgICAgICAgIERpc2FibGUgWUFS
Ul9KSVQgZm9yIFdpbm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gUExBVEZPUk0oUVQpCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>166218</attachid>
            <date>2012-09-28 05:09:11 -0700</date>
            <delta_ts>2012-09-28 07:12:32 -0700</delta_ts>
            <desc>Disables YARR_JIT for Windows 64</desc>
            <filename>disable_yarr_jit_on_windows64.patch</filename>
            <type>text/plain</type>
            <size>1071</size>
            <attacher name="Kai Koehne">kai.koehne</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XVEYvQ2hhbmdlTG9nIGIvU291cmNlL1dURi9DaGFuZ2VMb2cK
aW5kZXggZmYzNDI1MS4uZmUyOTE4OCAxMDA2NDQKLS0tIGEvU291cmNlL1dURi9DaGFuZ2VMb2cK
KysrIGIvU291cmNlL1dURi9DaGFuZ2VMb2cKQEAgLTEsMyArMSwxNiBAQAorMjAxMi0wOS0yOCAg
S2FpIEtvZWhuZSAgPGthaS5rb2VobmVAZGlnaWEuY29tPgorCisgICAgICAgIERpc2FibGUgWUFS
Ul9KSVQgZm9yIFdpbmRvd3MgNjQgYml0CisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD05Nzc3MgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09Q
UyEpLgorCisgICAgICAgIFVzaW5nIFlBUlJfSklUIHJlcXVpcmVzIEFTU0VNQkxFUiwgd2hpY2gg
aW4gdHVybiBlbmFibGVzIHRoZQorICAgICAgICBleGVjdXRhYmxlIGZpeGVkIGFsbG9jYXRvciwg
d2hpY2ggaXMgbW1hcCBiYXNlZCAobm90IGF2YWlsYWJsZSBvbgorICAgICAgICBXaW5kb3dzKS4K
KworICAgICAgICAqIHd0Zi9QbGF0Zm9ybS5oOgorCiAyMDEyLTA5LTI4ICBZdXJ5IFNlbWlraGF0
c2t5ICA8eXVyeXNAY2hyb21pdW0ub3JnPgogCiAgICAgICAgIFdlYiB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