WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
25994
Build Failure in webkit 1.1.7
https://bugs.webkit.org/show_bug.cgi?id=25994
Summary
Build Failure in webkit 1.1.7
David Ronis
Reported
2009-05-24 11:04:47 PDT
(I tried to submit this last night and apparently it didn't work; sorry if this is a duplicate) I'm trying to upgrade webkitgtk+ from 1.1.4 to 1.1.7 on two machines, both running linux, but one using gcc 4.4.0 and the other 4.3.3. The build dies on both with the same error message: /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 -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' ./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
Add attachment
proposed patch, testcase, etc.
David Ronis
Comment 1
2009-05-24 11:23:46 PDT
***
Bug 25984
has been marked as a duplicate of this bug. ***
David Ronis
Comment 2
2009-05-24 11:24:36 PDT
***
Bug 25993
has been marked as a duplicate of this bug. ***
David Ronis
Comment 3
2009-05-25 11:05:42 PDT
I installed webkit-r4411 today. The problem seems to have been fixed.
Alexey Proskuryakov
Comment 4
2010-02-20 00:58:25 PST
Marking as fixed per the above comment.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug