RESOLVED DUPLICATE of bug 25994 25984
Build Failure in webkitgtk+ 1.1.7
https://bugs.webkit.org/show_bug.cgi?id=25984
Summary Build Failure in webkitgtk+ 1.1.7
David Ronis
Reported 2009-05-23 21:28:46 PDT
I've just tried upgrading from version 1.1.6 on 2 separate machines, one running gcc 4.4.0 and the other 4.3.3. Both builds die with: /usr/bin/mkdir -p ./.deps/DerivedSources ./doltlibtool --tag=CXX --mode=compile /usr/bin/g++ -DHAVE_CONFIG_H -I. -DWTF_USE_ICU_UNICODE=1 -DBUILDING_CAIRO__=1 -DBUILDING_GTK__=1 -DWTF_CHANGES -DPACKAGE_LOCALE_DIR=\"/opt/garnome-svn-2.26/share/locale\" -DUSE_SYSTEM_MALLOC -DXP_UNIX -I./JavaScriptCore -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/parser -I./JavaScriptCore/wtf -I./DerivedSources -I./JavaScriptCore/API -I./JavaScriptCore/ForwardingHeaders -I./JavaScriptCore/interpreter -I./JavaScriptCore/bytecode -I./JavaScriptCore/bytecompiler -I./JavaScriptCore/debugger -I./JavaScriptCore/jit -I./JavaScriptCore/pcre -I./JavaScriptCore/profiler -I./JavaScriptCore/runtime -I./JavaScriptCore/wrec -I./JavaScriptCore/jit -I./JavaScriptCore/assembler -I./JavaScriptCore/wtf/unicode -I./JavaScriptCore/yarr -I./JavaScriptCore/pcre -I./JavaScriptCore/parser -I./JavaScriptCore/runtime -I/opt/garnome-svn-2.26/include -fvisibility-inlines-hidden -fno-rtti -fstrict-aliasing -O3 -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 -pthread -I/opt/garnome-svn-2.26/include/glib-2.0 -I/opt/garnome-svn-2.26/lib/glib-2.0/include -I/opt/garnome-svn-2.26/include -D_REENTRANT -I/opt/garnome-svn-2.26/include -I/opt/garnome-svn-2.26/include -L/opt/garnome-svn-2.26/lib -O2 -g -pipe -g -O0 -MT JavaScriptCore/debugger/libJavaScriptCore_la-Debugger.lo -MD -MP -MF JavaScriptCore/debugger/.deps/libJavaScriptCore_la-Debugger.Tpo -c -o JavaScriptCore/debugger/libJavaScriptCore_la-Debugger.lo `test -f 'JavaScriptCore/debugger/Debugger.cpp' || echo './'`JavaScriptCore/debugger/Debugger.cpp JavaScriptCore/debugger/Debugger.cpp: In member function 'void JSC::Debugger::recompileAllJSFunctions(JSC::JSGlobalData*, bool)': JavaScriptCore/debugger/Debugger.cpp:68: error: incomplete type 'JSC::JSFunction' used in nested name specifier JavaScriptCore/debugger/Debugger.cpp:69: error: invalid static_cast from type 'JSC::JSCell*' to type 'JSC::JSFunction*' JavaScriptCore/debugger/Debugger.cpp:70: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:86: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:89: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:93: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:101: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' JavaScriptCore/debugger/Debugger.cpp:103: error: invalid use of incomplete type 'struct JSC::JSFunction' ./JavaScriptCore/runtime/NativeFunctionWrapper.h:31: error: forward declaration of 'struct JSC::JSFunction' In file included from JavaScriptCore/debugger/Debugger.h:25, from JavaScriptCore/debugger/Debugger.cpp:23: ./JavaScriptCore/runtime/Protect.h: In constructor 'JSC::ProtectedPtr<T>::ProtectedPtr(T*) [with T = JSC::JSFunction]': ./JavaScriptCore/wtf/Vector.h:811: instantiated from 'void WTF::Vector<T, inlineCapacity>::append(const U&) [with U = JSC::JSFunction*, T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' JavaScriptCore/debugger/Debugger.cpp:72: instantiated from here ./JavaScriptCore/runtime/Protect.h:116: error: cannot convert 'JSC::JSFunction*' to 'JSC::JSCell*' for argument '1' to 'void JSC::gcProtectNullTolerant(JSC::JSCell*)' ./JavaScriptCore/runtime/Protect.h: In destructor 'JSC::ProtectedPtr<T>::~ProtectedPtr() [with T = JSC::JSFunction]': ./JavaScriptCore/wtf/Vector.h:80: instantiated from 'static void WTF::VectorDestructor<true, T>::destruct(T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:235: instantiated from 'static void WTF::VectorTypeOperations<T>::destruct(T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:713: instantiated from 'void WTF::Vector<T, inlineCapacity>::shrink(size_t) [with T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' ./JavaScriptCore/wtf/Vector.h:462: instantiated from 'WTF::Vector<T, inlineCapacity>::~Vector() [with T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' JavaScriptCore/debugger/Debugger.cpp:65: instantiated from here ./JavaScriptCore/runtime/Protect.h:127: error: cannot convert 'JSC::JSFunction*' to 'JSC::JSCell*' for argument '1' to 'void JSC::gcUnprotectNullTolerant(JSC::JSCell*)' ./JavaScriptCore/runtime/Protect.h: In copy constructor 'JSC::ProtectedPtr<T>::ProtectedPtr(const JSC::ProtectedPtr<T>&) [with T = JSC::JSFunction]': ./JavaScriptCore/wtf/Vector.h:121: instantiated from 'static void WTF::VectorMover<false, T>::move(const T*, const T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:245: instantiated from 'static void WTF::VectorTypeOperations<T>::move(const T*, const T*, T*) [with T = JSC::ProtectedPtr<JSC::JSFunction>]' ./JavaScriptCore/wtf/Vector.h:737: instantiated from 'void WTF::Vector<T, inlineCapacity>::reserveCapacity(size_t) [with T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' ./JavaScriptCore/wtf/Vector.h:672: instantiated from 'void WTF::Vector<T, inlineCapacity>::expandCapacity(size_t) [with T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' ./JavaScriptCore/wtf/Vector.h:690: instantiated from 'U* WTF::Vector<T, inlineCapacity>::expandCapacity(size_t, U*) [with U = JSC::JSFunction* const, T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' ./JavaScriptCore/wtf/Vector.h:797: instantiated from 'void WTF::Vector<T, inlineCapacity>::append(const U&) [with U = JSC::JSFunction*, T = JSC::ProtectedPtr<JSC::JSFunction>, unsigned int inlineCapacity = 0u]' JavaScriptCore/debugger/Debugger.cpp:72: instantiated from here ./JavaScriptCore/runtime/Protect.h:122: error: cannot convert 'JSC::JSFunction*' to 'JSC::JSCell*' for argument '1' to 'void JSC::gcProtectNullTolerant(JSC::JSCell*)' make[2]: *** [JavaScriptCore/debugger/libJavaScriptCore_la-Debugger.lo] Error 1
Attachments
David Ronis
Comment 1 2009-05-24 11:23:46 PDT
*** This bug has been marked as a duplicate of 25994 ***
Note You need to log in before you can comment on or make changes to this bug.