<?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>131584</bug_id>
          
          <creation_ts>2014-04-12 15:13:01 -0700</creation_ts>
          <short_desc>Webkit can&apos;t be built with GCC</short_desc>
          <delta_ts>2020-06-18 06:43:46 -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>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>1</everconfirmed>
          <reporter name="LRN">lrn1986</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>clopez</cc>
    
    <cc>mcrha</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1000233</commentid>
    <comment_count>0</comment_count>
    <who name="LRN">lrn1986</who>
    <bug_when>2014-04-12 15:13:01 -0700</bug_when>
    <thetext>WebKit needs an engine to execute JS. Two are available - LLInt and JIT.

JIT can be built on Windows, but only with MS VC compiler (has inline assembly code that is GCC-incompatible).
When building with JIT, ld complains about undefined symbols callToNativeFunction and callToJavaScript.

LLInt can&apos;t be built on Windows, GCC complains:

../webkitgtk-2.4.0/Source/JavaScriptCore/llint/LLIntOpcode.h:59:11: error: label &apos;llint_throw_from_slow_path_trampoline&apos; used but not defined
     macro(llint_throw_from_slow_path_trampoline, 1) \

This, i guess, is because LLIntAssembly.h can&apos;t be generated, the asm.rb script complains:
offlineasm: No magic values found. Skipping assembly file generation.

With neither engines being available, it&apos;s impossible to build WebKit.

This affects WebKitGTK-2.3.x (confirmed with 2.3.90) and 2.4.0.
WebKitGTK-2.2.5 builds (2.2.6 is said to be buildable as well, but i haven&apos;t tried it yet).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1018293</commentid>
    <comment_count>1</comment_count>
    <who name="Milan Crha">mcrha</who>
    <bug_when>2014-06-25 03:00:49 -0700</bug_when>
    <thetext>I&apos;d mark this as a duplicate of bug 133028, which is similar generic for a build break under mingw32/msys, or if you want the specific JIT bug report, then it&apos;s bug 132856. Both contain some proposed fixes. The former has list of dependencies with other fixes for the general build failures under mingw32/msys.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>