WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
93339
[Qt][Win] Build system bug revealed by
r124835
https://bugs.webkit.org/show_bug.cgi?id=93339
Summary
[Qt][Win] Build system bug revealed by r124835
Csaba Osztrogonác
Reported
2012-08-06 23:20:11 PDT
r124835
broke the Qt 5 - Windows - MSVC build: link /LIBPATH:"c:\WebKitBuildSlave\qt5\qtbase\lib" /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /DLL /MANIFEST /MANIFESTFILE:"obj/release\QtWebKit.intermediate.manifest" /VERSION:5.00 /OUT:..\lib\QtWebKit5.dll @C:\Users\WEBKIT~1\AppData\Local\Temp\2\nm5FE9.tmp Creating library ..\lib\QtWebKit5.lib and object ..\lib\QtWebKit5.exp WebCore.lib(JSDocumentCustom.obj) : error LNK2019: unresolved external symbol "class WebCore::DOMWindow * __cdecl WebCore::activeDOMWindow(class JSC::ExecState *)" (?activeDOMWindow@WebCore@@YAPAVDOMWindow@
1@PAVExecState@JSC@@@Z
) referenced in function "public: void __thiscall WebCore::JSDocument::setLocation(class JSC::ExecState *,class JSC::JSValue)" (?setLocation@JSDocument@WebCore@@QAEXPAVExecState@JSC@@VJSValue@
4@@Z
) WebCore.lib(JSDOMWindowCustom.obj) : error LNK2001: unresolved external symbol "class WebCore::DOMWindow * __cdecl WebCore::activeDOMWindow(class JSC::ExecState *)" (?activeDOMWindow@WebCore@@YAPAVDOMWindow@
1@PAVExecState@JSC@@@Z
) WebCore.lib(JSLocationCustom.obj) : error LNK2001: unresolved external symbol "class WebCore::DOMWindow * __cdecl WebCore::activeDOMWindow(class JSC::ExecState *)" (?activeDOMWindow@WebCore@@YAPAVDOMWindow@
1@PAVExecState@JSC@@@Z
) WebCore.lib(JSDocumentCustom.obj) : error LNK2019: unresolved external symbol "class WebCore::DOMWindow * __cdecl WebCore::firstDOMWindow(class JSC::ExecState *)" (?firstDOMWindow@WebCore@@YAPAVDOMWindow@
1@PAVExecState@JSC@@@Z
) referenced in function "public: void __thiscall WebCore::JSDocument::setLocation(class JSC::ExecState *,class JSC::JSValue)" (?setLocation@JSDocument@WebCore@@QAEXPAVExecState@JSC@@VJSValue@
4@@Z
) WebCore.lib(JSDOMWindowCustom.obj) : error LNK2001: unresolved external symbol "class WebCore::DOMWindow * __cdecl WebCore::firstDOMWindow(class JSC::ExecState *)" (?firstDOMWindow@WebCore@@YAPAVDOMWindow@
1@PAVExecState@JSC@@@Z
) WebCore.lib(JSLocationCustom.obj) : error LNK2001: unresolved external symbol "class WebCore::DOMWindow * __cdecl WebCore::firstDOMWindow(class JSC::ExecState *)" (?firstDOMWindow@WebCore@@YAPAVDOMWindow@
1@PAVExecState@JSC@@@Z
) ..\lib\QtWebKit5.dll : fatal error LNK1120: 2 unresolved externals
Attachments
Patch
(2.74 KB, patch)
2012-08-09 00:20 PDT
,
Csaba Osztrogonác
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Adam Barth
Comment 1
2012-08-06 23:21:25 PDT
Hi
Adam Barth
Comment 2
2012-08-06 23:27:45 PDT
I talked with Ossy a bit in #webkit about this failure, but I'm not sure where to start to fix it. I don't even know which build system is used by this port. It just looks like BindingState.cpp is missing from the build. The apple-win port gets this file via JSBindingAllInOne.cpp.
Simon Hausmann
Comment 3
2012-08-06 23:32:52 PDT
Yeah, this looks like a dependency problem in the build system perhaps. I don't see anything Windows specific in
http://trac.webkit.org/changeset/124835
. It would be interesting to see the entire build log of the bot. My bet is a that a clean build fixes it :/
Csaba Osztrogonác
Comment 4
2012-08-07 02:10:41 PDT
Clean build solved this problem, so it is a build system bug.
Simon Hausmann
Comment 5
2012-08-07 02:12:36 PDT
Do you have the original build log somewhere? Would love to see what happened. After all it should be just qmake and nmake.
Simon Hausmann
Comment 6
2012-08-07 02:13:24 PDT
Found it at
http://build.webkit.sed.hu/builders/Qt%20Windows%2032-bit%20Release%20Qt5/builds/1277/steps/compile-webkit/logs/stdio
Tor Arne Vestbø
Comment 7
2012-08-07 04:33:40 PDT
The SVN revision check in build-webkit fails: 'LC_ALL' is not recognized as an internal or external command, operable program or batch file. Unable to determine current SVN revision in C:/WebKitBuildSlave/szeged-windows-1/qt-windows-32-release/build at C:/WebKitBuildSlave/szeged-windows-1/qt-windows-32-release/build/Tools/Scripts/VCSUtils.pm line 384. This causes us to not do "make incremental", (which does make qmake && make). Target.pri was touched though, so qmake was (should be) run on that, but there might be nother dep that was not picked up due to a missing root make qmake.
Csaba Osztrogonác
Comment 8
2012-08-08 23:06:46 PDT
***
Bug 93580
has been marked as a duplicate of this bug. ***
Csaba Osztrogonác
Comment 9
2012-08-08 23:07:01 PDT
***
Bug 93582
has been marked as a duplicate of this bug. ***
Csaba Osztrogonác
Comment 10
2012-08-08 23:18:21 PDT
I'm picked it up.
Csaba Osztrogonác
Comment 11
2012-08-09 00:20:28 PDT
Created
attachment 157407
[details]
Patch
Csaba Osztrogonác
Comment 12
2012-08-09 14:57:05 PDT
Comment on
attachment 157407
[details]
Patch landed in
https://trac.webkit.org/changeset/125163
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug