[Webkit-unassigned] [Bug 114627] [EFL] build error when adjusting attachement 198015

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 19 06:17:12 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114627


Raphael Kubo da Costa (rakuco, Intel) <rakuco at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rakuco at webkit.org




--- Comment #7 from Raphael Kubo da Costa (rakuco, Intel) <rakuco at webkit.org>  2013-04-19 06:15:29 PST ---
It looks like something specific to the 4.6 series (I tried 4.4, 4.5, 4.6, 4.7 and 4.8 here), and this crash only happens when building in Release mode because only -O3 makes the compiler crash.

The GCC bug report KyungTae may be related, but it's about a 4.7.0 regression that does not crash 4.6 here.

GTK+ seems to require GCC 4.7.0, and my guess is that qmake doesn't pass -O3 in its equivalent to Release mode.

How about doing something like this in Source/WebCore/CMakeLists.txt:

# Detailed explaination of why we need this.
if (CMAKE_COMPILER_IS_GNUCXX) # Can restrict based on the version.
    set_source_files_properties(Modules/websocket/WebSocketDeflater.cpp
                                PROPERTIES COMPILE_FLAGS "-O2")
endif ()

This would end up passing -O2 to g++ at the end and fixes the issue.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list