RESOLVED FIXED 65313
MinGW-w64 - JIT causes build failure
https://bugs.webkit.org/show_bug.cgi?id=65313
Summary MinGW-w64 - JIT causes build failure
Jonathan Liu
Reported 2011-07-28 06:39:09 PDT
JIT shouldn't be enabled on MinGW-w64 as it is unstable and causes crash when executing JavaScript. The following should be added to JavaScriptCore/wtf/Platform.h: /* JIT is not implemented for 64 bit on MinGW-w64 */ #if !defined(ENABLE_JIT) && COMPILER(MINGW64) && CPU(X86_64) #define ENABLE_JIT 0 #endif
Attachments
proposed patch (1.21 KB, patch)
2011-08-28 02:47 PDT, Jonathan Liu
no flags
proposed patch (1.25 KB, patch)
2011-08-28 02:55 PDT, Jonathan Liu
no flags
Alexey Proskuryakov
Comment 1 2011-07-29 11:13:26 PDT
Would you be willing to contribute this code to WebKit as described in <http://www.webkit.org/coding/contributing.html>? I do not mean to diminish the contribution you made already by pointing out this bug, but historically, patches that aren't submitted according to the process almost never get landed.
vanboxem.ruben
Comment 2 2011-08-04 12:45:25 PDT
I believe this wouldn't work on 64-bit MSVC either. IMHO I think that the COMPILER(MINGW64) check is superfluous (and wrong). Last I knew, Win64 had no working JIT.
Jonathan Liu
Comment 3 2011-08-28 01:00:12 PDT
This issue causes build failure as indicated in bug 61235.
Jonathan Liu
Comment 4 2011-08-28 02:47:23 PDT
Created attachment 105446 [details] proposed patch
Jonathan Liu
Comment 5 2011-08-28 02:51:43 PDT
(In reply to comment #1) > Would you be willing to contribute this code to WebKit as described in <http://www.webkit.org/coding/contributing.html>? > > I do not mean to diminish the contribution you made already by pointing out this bug, but historically, patches that aren't submitted according to the process almost never get landed. Patch contributed as requested.
WebKit Review Bot
Comment 6 2011-08-28 02:52:11 PDT
Attachment 105446 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source..." exit_code: 1 Source/JavaScriptCore/ChangeLog:3: Line contains tab character. [whitespace/tab] [5] Source/JavaScriptCore/ChangeLog:4: Line contains tab character. [whitespace/tab] [5] Source/JavaScriptCore/ChangeLog:5: Line contains tab character. [whitespace/tab] [5] Source/JavaScriptCore/ChangeLog:9: Line contains tab character. [whitespace/tab] [5] Source/JavaScriptCore/ChangeLog:10: Line contains tab character. [whitespace/tab] [5] Total errors found: 5 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jonathan Liu
Comment 7 2011-08-28 02:55:07 PDT
Created attachment 105447 [details] proposed patch
WebKit Review Bot
Comment 8 2011-08-28 12:24:53 PDT
Comment on attachment 105447 [details] proposed patch Clearing flags on attachment: 105447 Committed r93950: <http://trac.webkit.org/changeset/93950>
WebKit Review Bot
Comment 9 2011-08-28 12:24:58 PDT
All reviewed patches have been landed. Closing bug.
Ademar Reis
Comment 10 2011-08-29 07:26:13 PDT
Revision r93950 cherry-picked into qtwebkit-2.2 with commit b017396 <http://gitorious.org/webkit/qtwebkit/commit/b017396>
Kai Koehne
Comment 11 2012-09-27 03:26:28 PDT
Unfortunately this is broken again in latest qtwebkit: jit\ExecutableAllocatorFixedVMPool.cpp:34:22: fatal error: sys/mman.h: No such file or directory I've yet to find out what goes wrong this time ...
Kai Koehne
Comment 12 2012-09-27 04:25:08 PDT
Created another bug report for the regression: https://bugs.webkit.org/show_bug.cgi?id=97772
Note You need to log in before you can comment on or make changes to this bug.