Bug 75775 - [Qt] Build fails with ANGLE
Summary: [Qt] Build fails with ANGLE
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Qt (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Leo Yang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-07 03:59 PST by Leo Yang
Modified: 2012-01-08 18:34 PST (History)
0 users

See Also:


Attachments
Patch (1.43 KB, patch)
2012-01-07 04:06 PST, Leo Yang
no flags Details | Formatted Diff | Diff
Patch (1.42 KB, patch)
2012-01-07 04:19 PST, Leo Yang
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Leo Yang 2012-01-07 03:59:21 PST
Qt porting (using qt 4.8.0) build fails with ANGLE

rm -f libQtWebKit.so.4.10.0 libQtWebKit.so libQtWebKit.so.4 libQtWebKit.so.4.10
g++ -m64 -fuse-ld=gold -Wl,--version-script=/home/leo/workspace/webkit.org/Source/qtwebkit-export.map -Wl,--gc-sections -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.8.0/lib -shared -Wl,-soname,libQtWebKit.so.4 -o libQtWebKit.so.4.10.0 obj/release/qwebframe.o obj/release/qgraphicswebview.o obj/release/qwebpage.o obj/release/qwebview.o obj/release/qwebelement.o obj/release/qwebhistory.o obj/release/qwebsettings.o obj/release/qwebhistoryinterface.o obj/release/qwebplugindatabase.o obj/release/qwebpluginfactory.o obj/release/qwebsecurityorigin.o obj/release/qwebscriptworld.o obj/release/qwebdatabase.o obj/release/qwebinspector.o obj/release/qwebkitversion.o obj/release/QtFallbackWebPopup.o obj/release/QtWebComboBox.o obj/release/ChromeClientQt.o obj/release/ContextMenuClientQt.o obj/release/DragClientQt.o obj/release/DumpRenderTreeSupportQt.o obj/release/EditorClientQt.o obj/release/UndoStepQt.o obj/release/FrameLoaderClientQt.o obj/release/FrameNetworkingContextQt.o obj/release/GeolocationPermissionClientQt.o obj/release/InitWebCoreQt.o obj/release/InspectorClientQt.o obj/release/InspectorServerQt.o obj/release/NotificationPresenterClientQt.o obj/release/PageClientQt.o obj/release/PopupMenuQt.o obj/release/QtPlatformPlugin.o obj/release/SearchPopupMenuQt.o obj/release/TextCheckerClientQt.o obj/release/PlatformStrategiesQt.o obj/release/FullScreenVideoQt.o obj/release/IconDatabaseClientQt.o obj/release/moc_qwebkitplatformplugin.o obj/release/moc_qwebhistoryinterface.o obj/release/moc_qwebpluginfactory.o obj/release/moc_qwebinspector.o obj/release/moc_qwebplugindatabase_p.o obj/release/moc_InspectorServerQt.o obj/release/moc_QtFallbackWebPopup.o obj/release/moc_QtWebComboBox.o obj/release/moc_FullScreenVideoQt.o   -L/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release -L/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/JavaScriptCore/release -L/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/JavaScriptCore/wtf/release -L/usr/X11R6/lib64 -L/usr/local/Trolltech/Qt-4.8.0/lib -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -lXrender -lsqlite3 -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -pthread -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -lQtSql -L/usr/local/Trolltech/Qt-4.8.0/lib -lQtXmlPatterns -lQtOpenGL -L/usr/X11R6/lib64 -lQtGui -lQtNetwork -lQtCore -lGL -lpthread -lXext -lX11 -lm
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(Compiler.o): In function `TCompiler::clearResults()':
Compiler.cpp:(.text._ZN9TCompiler12clearResultsEv+0x124): undefined reference to `BuiltInFunctionEmulator::Cleanup()'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(Compiler.o): In function `TCompiler::detectRecursion(TIntermNode*)':
Compiler.cpp:(.text._ZN9TCompiler15detectRecursionEP11TIntermNode+0x10): undefined reference to `DetectRecursion::DetectRecursion()'
Compiler.cpp:(.text._ZN9TCompiler15detectRecursionEP11TIntermNode+0x24): undefined reference to `DetectRecursion::detectRecursion()'
Compiler.cpp:(.text._ZN9TCompiler15detectRecursionEP11TIntermNode+0x3c): undefined reference to `DetectRecursion::~DetectRecursion()'
Compiler.cpp:(.text._ZN9TCompiler15detectRecursionEP11TIntermNode+0xa1): undefined reference to `DetectRecursion::~DetectRecursion()'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(Compiler.o): In function `TCompiler::TCompiler(ShShaderType, ShShaderSpec)':
Compiler.cpp:(.text._ZN9TCompilerC2E12ShShaderType12ShShaderSpec+0xb7): undefined reference to `BuiltInFunctionEmulator::BuiltInFunctionEmulator(ShShaderType)'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(Compiler.o): In function `TCompiler::compile(char const* const*, int, int)':
Compiler.cpp:(.text._ZN9TCompiler7compileEPKPKcii+0x4fa): undefined reference to `BuiltInFunctionEmulator::MarkBuiltInFunctionsForEmulation(TIntermNode*)'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(OutputGLSLBase.o): In function `TOutputGLSLBase::visitAggregate(Visit, TIntermAggregate*)':
OutputGLSLBase.cpp:(.text._ZN15TOutputGLSLBase14visitAggregateE5VisitP16TIntermAggregate+0x78f): undefined reference to `BuiltInFunctionEmulator::GetEmulatedFunctionName(std::basic_string<char, std::char_traits<char>, pool_allocator<char> > const&)'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(OutputGLSLBase.o): In function `TOutputGLSLBase::visitUnary(Visit, TIntermUnary*)':
OutputGLSLBase.cpp:(.text._ZN15TOutputGLSLBase10visitUnaryE5VisitP12TIntermUnary+0xdc): undefined reference to `BuiltInFunctionEmulator::GetEmulatedFunctionName(std::basic_string<char, std::char_traits<char>, pool_allocator<char> > const&)'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(TranslatorESSL.o): In function `TranslatorESSL::translate(TIntermNode*)':
TranslatorESSL.cpp:(.text._ZN14TranslatorESSL9translateEP11TIntermNode+0x4f): undefined reference to `BuiltInFunctionEmulator::OutputEmulatedFunctionDefinition(TInfoSinkBase&, bool) const'
/home/leo/workspace/webkit.org/WebKitBuild/Release/Source/WebCore/release/libWebCore.a(TranslatorGLSL.o): In function `TranslatorGLSL::translate(TIntermNode*)':
TranslatorGLSL.cpp:(.text._ZN14TranslatorGLSL9translateEP11TIntermNode+0x307): undefined reference to `BuiltInFunctionEmulator::OutputEmulatedFunctionDefinition(TInfoSinkBase&, bool) const'
collect2: ld returned 1 exit status
make[3]: *** [../lib/libQtWebKit.so.4.10.0] Error 1
make[3]: Leaving directory `/home/leo/workspace/webkit.org/WebKitBuild/Release/Source'
make[2]: *** [sub-api-pri-make_default-ordered] Error 2
make[2]: Leaving directory `/home/leo/workspace/webkit.org/WebKitBuild/Release/Source'
make[1]: *** [sub-Source-QtWebKit-pro-make_default-ordered] Error 2
make[1]: Leaving directory `/home/leo/workspace/webkit.org/WebKitBuild/Release'
make: *** [incremental] Error 2
Comment 1 Leo Yang 2012-01-07 04:06:01 PST
Created attachment 121546 [details]
Patch
Comment 2 Leo Yang 2012-01-07 04:19:03 PST
Created attachment 121547 [details]
Patch
Comment 3 Simon Hausmann 2012-01-07 14:02:05 PST
Comment on attachment 121547 [details]
Patch

rs=me
Comment 4 Leo Yang 2012-01-08 18:33:08 PST
Seems https://trac.webkit.org/changeset/104385 fixed the problem between the time of filing the bug and the time of processing this patch by qt ews. Close the bug anyway.
Comment 5 Leo Yang 2012-01-08 18:34:22 PST
Comment on attachment 121547 [details]
Patch

Obsolete since another patch has been in.