[Webkit-unassigned] [Bug 105295] New: include missing when building without JIT

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 18 07:39:20 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=105295

           Summary: include missing when building without JIT
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dan at danny.cz


Created an attachment (id=179938)
 --> (https://bugs.webkit.org/attachment.cgi?id=179938&action=review)
add missing include

when building webkitgtk3 1.11.2 on Fedora/s390x with JIT disabled I get the following error:

...
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DENABLE_GLIB_SUPPORT=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DBUILDING_WEBKIT2__=1 -DXP_UNIX -DMOZ_X11 -DWTF_USE_ICU_UNICODE=1 -DWTF_USE_GSTREAMER=1 -DWTF_USE_ACCELERATED_COMPOSITING=1 -DENABLE_3D_RENDERING=1 -DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1 -DWTF_USE_GLX=1 -DWTF_USE_EGL=1 -DWTF_USE_OPENGL=1 -DNDEBUG -DENABLE_JIT=0 -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-rtti -fstrict-aliasing -O3 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_REENTRANT -I/usr/include -O2 -g1 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -march=z9-109 -mtune=z10 -Wno-c++0x-compat -O2 -c Source/JavaScriptCore/runtime/ArrayConstructor.cpp  -fPIC -DPIC -o Source/JavaScriptCore/runtime/.libs/libjavascriptcoregtk_3_0_la-ArrayConstructor.o
In file included from Source/JavaScriptCore/runtime/ArrayConstructor.cpp:25:0:
Source/JavaScriptCore/runtime/ArrayConstructor.h:63:51: error: 'ArrayAllocationProfile' has not been declared
Source/JavaScriptCore/runtime/ArrayConstructor.cpp: In function 'JSC::JSObject* JSC::constructArrayWithSizeQuirk(JSC::ExecState*, const JSC::ArgList&)':
Source/JavaScriptCore/runtime/ArrayConstructor.cpp:97:77: error: call of overloaded 'constructArrayWithSizeQuirk(JSC::ExecState*&, int, JSC::JSGlobalObject*&, JSC::JSValue)' is ambiguous
Source/JavaScriptCore/runtime/ArrayConstructor.cpp:97:77: note: candidates are:
In file included from Source/JavaScriptCore/runtime/ArrayConstructor.cpp:25:0:
Source/JavaScriptCore/runtime/ArrayConstructor.h:63:11: note: JSC::JSObject* JSC::constructArrayWithSizeQuirk(JSC::ExecState*, int*, JSC::JSGlobalObject*, JSC::JSValue)
Source/JavaScriptCore/runtime/ArrayConstructor.cpp:80:11: note: JSC::JSObject* JSC::constructArrayWithSizeQuirk(JSC::ExecState*, JSC::ArrayAllocationProfile*, JSC::JSGlobalObject*, JSC::JSValue)
make[1]: *** [Source/JavaScriptCore/runtime/libjavascriptcoregtk_3_0_la-ArrayConstructor.lo] Error 1

I think the needed ArrayAllocationProfile header gets included via other headers when built with JIT enabled, but is missing in the chain when built without JIT

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list