RESOLVED WORKSFORME 100592
Can't build QtWebKitWidgetsd5.dll with MinGW-builds GCC 4.7.2
https://bugs.webkit.org/show_bug.cgi?id=100592
Summary Can't build QtWebKitWidgetsd5.dll with MinGW-builds GCC 4.7.2
Jonathan Liu
Reported 2012-10-27 06:45:51 PDT
Created attachment 171090 [details] Compile errors Building QtWebKit as part of Qt 5 fails when trying to link QtWebKitWidgetsd5.dll: undefined reference to JSC::JSCell::classInfo() const. Compiler: MinGW-builds GCC 4.7.2 64-bit Configuration: WebKit1 (no ANGLE) Build Instructions: http://qt-project.org/wiki/MinGW-64-bit#03f79f4f892018f670751240946380e3
Attachments
Compile errors (13.12 KB, text/plain)
2012-10-27 06:45 PDT, Jonathan Liu
no flags
Jonathan Liu
Comment 1 2012-10-27 06:49:54 PDT
QtWebKitWidgets5.dll compiles fine so the problem is only when doing a debug build of the library.
Jonathan Liu
Comment 2 2012-10-27 22:08:25 PDT
Seems the problem may be related to http://trac.webkit.org/changeset/130303
Simon Hausmann
Comment 3 2012-10-31 08:42:13 PDT
Kai Koehne
Comment 4 2012-11-21 06:54:58 PST
I can reproduce this with MinGW-builds 4.7.2 gcc 32 bit, so it's not a 64 bit issue.
Kai Koehne
Comment 5 2012-11-21 08:20:41 PST
JSC::JSCell::classInfo() is defined as an inline method (outside of class declaration) in JSDestructibleObject.h . I guess the compiler gets confused about this ...
Kai Koehne
Comment 6 2012-11-22 04:04:03 PST
Alright, I was able to fix this locally by merging the content of JSDestructibleObject.h (which defines JSCell::classInfo()) into JSObject.h . However JSDestructibleObject.h was removed in webkit/trunk anyway (commit 75dbf611bc), so I have hopes that the next qtwebkit update fixes this, too.
Simon Hausmann
Comment 7 2012-11-26 06:51:38 PST
Kai, can you confirm that current qtwebkit in qt5.git fixes this issue?
Kai Koehne
Comment 8 2012-11-28 01:29:18 PST
No, can't confirm. It's just shadowed by yet another one: https://bugs.webkit.org/show_bug.cgi?id=103491
Simon Hausmann
Comment 9 2012-11-29 05:51:27 PST
Removing from the Qt 5.0.0 blockers as we're not going to have mingw binaries it seems.
Jonathan Liu
Comment 10 2013-04-14 01:11:31 PDT
It is working now.
Note You need to log in before you can comment on or make changes to this bug.