Bug 29485
Summary: | [Qt] WebKit doesn't compile with GCC 3.4.6 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tor Arne Vestbø <vestbo> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | jturcotte |
Priority: | P2 | Keywords: | Qt |
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | OS X 10.5 |
Tor Arne Vestbø
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
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