[Webkit-unassigned] [Bug 44052] Crash on mingw-w64 in Qt Browser demo and Assistant
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 21 07:11:40 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44052
--- Comment #7 from vanboxem.ruben at gmail.com 2010-09-21 07:11:40 PST ---
After many rebuilds of Qt, trying out different options, it seems a release build with -flto enabled produces a crashing browser example. This may make it a GCC optimization bug, but I will still try to get more info for this case. To this effect, I have modified mkspecs/win32-g++/qmake.conf:
QMAKE_CFLAGS_RELEASE = -g -O2
QMAKE_CFLAGS_LTCG = -flto
...
QMAKE_LFLAGS_LTCG = -flto -fwhopr=2
This, together with "configure -ltcg..." enables link time optimization for gcc like it does for MSVC. The stacktrace I get from this is extremely unhelpful:
#0 0x000000000165d02d in QWebInspector::qt_metacast(char const*) () from M:\Development\x64\Qt\bin\QtWebKit4.dll
#1 0x00000000066ddcf0 in ?? ()
#2 0x0000000003f82a18 in ?? ()
#3 0x0000000000000000 in ?? ()
To get more debug info, I am recompiling with debug flag "-ggdb3", and removing the linker command "-Wl,-s" from QMAKE_LFLAGS_RELEASE which apparently still ripped out all debug info.
I will post the more informative backtrace here when I get it. Perhaps someone with a linux install can test and see if lto is also problematic there, then it is not a mingw-dependent problem.
--
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