WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
29485
[Qt] WebKit doesn't compile with GCC 3.4.6
https://bugs.webkit.org/show_bug.cgi?id=29485
Summary
[Qt] WebKit doesn't compile with GCC 3.4.6
Tor Arne Vestbø
Reported
2009-09-18 08:46:03 PDT
This bug report originated from issue QTBUG-3451
http://bugreports.qt.nokia.com/browse/QTBUG-3451
--- Description --- WebKit doesn't compile with GCC 3.4.6, giving the following errors when compiling This is seen on Solaris 9, but not on Solaris 10. JavaScriptCore/API/JSBase.cpp ../JavaScriptCore/wtf/PassRefPtr.h: In function `JSC::SourceCode JSC::makeSource(const JSC::UString&, const JSC::UString&, int)': ../JavaScriptCore/wtf/PassRefPtr.h:43: sorry, unimplemented: inlining failed in call to 'WTF::PassRefPtr<T>::~PassRefPtr() [with T = JSC::UStringSourceProvider]': function body not available ../JavaScriptCore/API/JSBase.cpp:86: sorry, unimplemented: called from here ../JavaScriptCore/wtf/PassRefPtr.h:43: sorry, unimplemented: inlining failed in call to 'WTF::PassRefPtr<T>::~PassRefPtr() [with T = JSC::SourceProvider]': function body not available ../JavaScriptCore/API/JSBase.cpp:86: sorry, unimplemented: called from here
Attachments
Add attachment
proposed patch, testcase, etc.
Jocelyn Turcotte
Comment 1
2009-09-25 01:29:54 PDT
I investigated this earlier and it's a bug in gcc: "always_inline does not mix with templates and -O0"
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14950
Compiling with -O0 or without optimization did the same error for me, -O2 had to be used at least. Marking as won't fix as this don't affect release builds but if a fix is really needed we will have to disable ALWAYS_INLINE from template objects for this os with gcc 3.4.x
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