RESOLVED FIXED 54896
[Qt] [WK2] WebKitTestRunner, QtWebProcess and WTRInjectBundle should fail to compile when there's undefined symbols
https://bugs.webkit.org/show_bug.cgi?id=54896
Summary [Qt] [WK2] WebKitTestRunner, QtWebProcess and WTRInjectBundle should fail to ...
Kimmo Kinnunen
Reported 2011-02-21 11:25:48 PST
WebKitTestRunner, QtWebProcess and WTRInjectBundle should fail to compile when there's undefined symbols. Not failing the compile early leads to hard to debug situations, like webkit test runner failing all tests because WTRInjectBundle doesn't contain for example following symbols: InjectedBundlePage.cpp:(.text+0x28d8): undefined reference to `WebCore::KURL::KURL(WebCore::ParsedURLStringTag, char const*)' InjectedBundlePage.cpp:(.text+0x2906): undefined reference to `WebCore::KURL::host() const' InjectedBundlePage.cpp:(.text+0x2a33): undefined reference to `WebCore::KURL::protocol() const' InjectedBundlePage.cpp:(.text+0x2a62): undefined reference to `WebCore::KURL::protocol() const' InjectedBundlePage.cpp:(.text+0x2a95): undefined reference to `WebCore::KURL::host() const' InjectedBundlePage.cpp:(.text+0x2acb): undefined reference to `WebCore::KURL::host() const' InjectedBundlePage.cpp:(.text+0x2bb3): undefined reference to `WebCore::KURL::host() const'
Attachments
fix (13.13 KB, patch)
2011-02-21 11:37 PST, Kimmo Kinnunen
no flags
fix2 (previous had a typo in diff command) (3.05 KB, patch)
2011-02-21 11:44 PST, Kimmo Kinnunen
no flags
Rebased and resubmitted patch to get new try with buildbots (3.04 KB, patch)
2011-03-17 03:51 PDT, Kimmo Kinnunen
no flags
Kimmo Kinnunen
Comment 1 2011-02-21 11:37:36 PST
Kimmo Kinnunen
Comment 2 2011-02-21 11:44:19 PST
Created attachment 83198 [details] fix2 (previous had a typo in diff command)
Early Warning System Bot
Comment 3 2011-02-21 13:17:41 PST
Csaba Osztrogonác
Comment 4 2011-02-21 13:52:38 PST
The idea is good, catching a build break is always easier. I added bug 54109 to the "depends on" list not to break the build now.
Kimmo Kinnunen
Comment 5 2011-03-17 00:26:47 PDT
Comment on attachment 83198 [details] fix2 (previous had a typo in diff command) clearing to retry ews
Kimmo Kinnunen
Comment 6 2011-03-17 00:27:14 PDT
Comment on attachment 83198 [details] fix2 (previous had a typo in diff command) requesting review + commit
Kenneth Rohde Christiansen
Comment 7 2011-03-17 00:47:56 PDT
This seems to fail on Qt.
Balazs Kelemen
Comment 8 2011-03-17 02:02:38 PDT
I think it would build on a fresh tree. Could you try it once again, Kimmo?
Kimmo Kinnunen
Comment 9 2011-03-17 02:21:16 PDT
(In reply to comment #8) > I think it would build on a fresh tree. > Could you try it once again, Kimmo? Yeah, I tried to invoke buildbots again (there where i reset the review flags). However, it didn't seem to start the build. Any hints on how to restart it properly? That Qt failure was probably due to buildbot trying to build too early with respect to the bug 54109 fix.
Balazs Kelemen
Comment 10 2011-03-17 03:26:42 PDT
(In reply to comment #9) > (In reply to comment #8) > > I think it would build on a fresh tree. > > Could you try it once again, Kimmo? > > Yeah, I tried to invoke buildbots again (there where i reset the review flags). However, it didn't seem to start the build. Any hints on how to restart it properly? > I don't know about any other way than resubmitting the patch.
Kimmo Kinnunen
Comment 11 2011-03-17 03:51:26 PDT
Created attachment 86042 [details] Rebased and resubmitted patch to get new try with buildbots
Benjamin Poulain
Comment 12 2011-03-18 11:40:15 PDT
Comment on attachment 86042 [details] Rebased and resubmitted patch to get new try with buildbots I understand why it is needed for InjectedBundle but not for WebKitTestRunner and the WebProcess. Could you explain?
Eric Seidel (no email)
Comment 13 2011-04-10 16:25:42 PDT
Comment on attachment 86042 [details] Rebased and resubmitted patch to get new try with buildbots OK.
WebKit Commit Bot
Comment 14 2011-04-10 19:36:02 PDT
Comment on attachment 86042 [details] Rebased and resubmitted patch to get new try with buildbots Clearing flags on attachment: 86042 Committed r83416: <http://trac.webkit.org/changeset/83416>
WebKit Commit Bot
Comment 15 2011-04-10 19:36:07 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.