RESOLVED DUPLICATE of bug 141618 141649
compile failed with --cloop
https://bugs.webkit.org/show_bug.cgi?id=141649
Summary compile failed with --cloop
myvyang
Reported 2015-02-16 08:54:06 PST
error msg: FAILED: /usr/bin/c++ -DBUILDING_GTK__=1 -DBUILDING_JavaScriptCore -DBUILDING_WITH_CMAKE=1 -DDATA_DIR=\"share\" -DENABLE_3D_RENDERING=1 -DENABLE_PLUGIN_PROCESS_GTK2=1 -DGETTEXT_PACKAGE=\"WebKit2GTK-4.0\" -DHAVE_CONFIG_H=1 -DJavaScriptCore_EXPORTS -DMOZ_X11=1 -DSTATICALLY_LINKED_WITH_WTF -DUSER_AGENT_GTK_MAJOR_VERSION=601 -DUSER_AGENT_GTK_MINOR_VERSION=1 -DWEBKITGTK_API_VERSION_STRING=\"4.0\" -DWTF_PLATFORM_X11=1 -DWTF_USE_3D_GRAPHICS=1 -DWTF_USE_EGL=1 -DWTF_USE_GLX=1 -DWTF_USE_GSTREAMER -DWTF_USE_GSTREAMER_MPEGTS -DWTF_USE_LIBNOTIFY=1 -DWTF_USE_OPENGL=1 -DWTF_USE_TEXTURE_MAPPER=1 -DWTF_USE_TEXTURE_MAPPER_GL=1 -DWTF_USE_WEBAUDIO_GSTREAMER -DXP_UNIX -std=c++11 -g -fPIC -I. -I../../Source/JavaScriptCore -I../../Source/JavaScriptCore/API -I../../Source/JavaScriptCore/ForwardingHeaders -I../../Source/JavaScriptCore/assembler -I../../Source/JavaScriptCore/bindings -I../../Source/JavaScriptCore/builtins -I../../Source/JavaScriptCore/bytecode -I../../Source/JavaScriptCore/bytecompiler -I../../Source/JavaScriptCore/dfg -I../../Source/JavaScriptCore/disassembler -I../../Source/JavaScriptCore/ftl -I../../Source/JavaScriptCore/heap -I../../Source/JavaScriptCore/debugger -I../../Source/JavaScriptCore/inspector -I../../Source/JavaScriptCore/inspector/agents -I../../Source/JavaScriptCore/inspector/remote -I../../Source/JavaScriptCore/interpreter -I../../Source/JavaScriptCore/jit -I../../Source/JavaScriptCore/llint -I../../Source/JavaScriptCore/llvm -I../../Source/JavaScriptCore/parser -I../../Source/JavaScriptCore/profiler -I../../Source/JavaScriptCore/replay -I../../Source/JavaScriptCore/runtime -I../../Source/JavaScriptCore/tools -I../../Source/JavaScriptCore/yarr -I../../Source/WTF -IDerivedSources -IDerivedSources/ForwardingHeaders -IDerivedSources/JavaScriptCore -IDerivedSources/JavaScriptCore/inspector -I../../Source -I../../Source/JavaScriptCore/disassembler/udis86 -I../DependenciesGTK/Root/include/glib-2.0 -I../DependenciesGTK/Root/lib64/glib-2.0/include -Wall -Wextra -Wcast-align -Wformat-security -Wmissing-format-attribute -Wpointer-arith -Wundef -Wwrite-strings -MMD -MT Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/MathObject.cpp.o -MF Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/MathObject.cpp.o.d -o Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/runtime/MathObject.cpp.o -c ../../Source/JavaScriptCore/runtime/MathObject.cpp ../../Source/JavaScriptCore/runtime/MathObject.cpp: In function ‘JSC::EncodedJSValue JSC::mathProtoFuncPow(JSC::ExecState*)’: ../../Source/JavaScriptCore/runtime/MathObject.cpp:253:62: error: ‘operationMathPow’ was not declared in this scope return JSValue::encode(JSValue(operationMathPow(arg, arg2))); ^ ../../Source/JavaScriptCore/runtime/MathObject.cpp:254:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ [9/4773] Building CXX object Source/Ja...iptCore.dir/runtime/StringObject.cpp.o ninja: build stopped: subcommand failed. I think because of --cloop, ENABLE_JIT is 0, so 'operationMathPow' in Source/JavaScriptCore/jit/JITOperations.h is disabled. In this commit, https://github.com/WebKit/webkit/commit/903025b195f0b13f073f87f52d0812cd0c30397d mathPow was deleted, and operationMathPow was used.
Attachments
Alexey Proskuryakov
Comment 1 2015-02-16 12:38:16 PST
*** This bug has been marked as a duplicate of bug 141618 ***
Note You need to log in before you can comment on or make changes to this bug.