Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-64982

recipe for target '../../bin/qdoc.exe' failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P0: Blocker P0: Blocker
    • None
    • 5.11
    • Build System
    • None
    • QNX 6.6, 7.0 and WinRT 10 on Windows 10

      https://codereview.qt-project.org/#/c/213351/ Merge remote-tracking branch 'origin/5.10' into dev
      https://codereview.qt-project.org/#/c/213421/ Update submodules on 'dev' in qt5
      https://testresults.qt.io/coin/integration/qt/qt5/tasks/1512484128

      https://testresults.qt.io/coin/api/results/qt/qttools/59f8379269b22c90589af5162aa1fae850123fba/WindowsWindows_10x86_64QNXQNX_660armv7Mingw53qtci-windows-10-x86_64-10-cc9722Release_DisableTests_OpenGLES2/4d8e225eae7e5f065e2a7a92c92f667e1cc8e5e6/build_1512484530/log.txt.gz

      g++ -Wl,--gc-sections -Wl,-s -Wl,-subsystem,console -o ../../bin/qdoc.exe object_script.qdoc.Release  -LC:/Utils/libclang-40-32/lib -lclang -Lc:/Users/qt/work/install/lib c:/Users/qt/work/install/lib/libQt5QmlDevTools.a c:/Users/qt/work/install/lib/libQt5Bootstrap.a -luser32 -lole32 -ladvapi32 -lshell32 -lnetapi32 -luuid .obj/release/qdoc_resource_res.o 
      C:/MINGW530/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lclang
      collect2.exe: error: ld returned 1 exit status
      Makefile.Release:193: recipe for target '../../bin/qdoc.exe' failed
      Mingw32-make[3]: *** [../../bin/qdoc.exe] Error 1
      Mingw32-make[3]: Leaving directory 'C:/Users/qt/work/qt/qttools/src/qdoc'
      Makefile:36: recipe for target 'release' failed
      Mingw32-make[2]: *** [release] Error 2
      Mingw32-make[2]: Leaving directory 'C:/Users/qt/work/qt/qttools/src/qdoc'
      Makefile:203: recipe for target 'sub-qdoc-make_first' failed
      Mingw32-make[1]: *** [sub-qdoc-make_first] Error 2
      Mingw32-make[1]: Leaving directory 'C:/Users/qt/work/qt/qttools/src'
      Makefile:46: recipe for target 'sub-src-make_first' failed
      Mingw32-make: *** [sub-src-make_first] Error 2
      

      https://testresults.qt.io/coin/api/results/qt/qttools/59f8379269b22c90589af5162aa1fae850123fba/WindowsWindows_10x86_64WinRTWinRT_10x86_64MSVC2015qtci-windows-10-x86_64-10-cc9722DebugAndRelease_Release_ForceDebugInfo_DisableTests/4d8e225eae7e5f065e2a7a92c92f667e1cc8e5e6/build_1512484491/log.txt.gz

      	link /NOLOGO /DYNAMICBASE /NXCOMPAT /STACK:4194304 /DEBUG /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /VERSION:5.11 /MANIFEST:embed /OUT:..\..\bin\qdoc.exe @C:\Users\qt\AppData\Local\Temp\qdoc.exe.4908.60031.jom
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCString referenced in function "public: enum CXChildVisitResult __thiscall <lambda_05504cba33cd203ffe80d6f58c326ae0>::operator()(struct CXCursor)const " (??R<lambda_05504cba33cd203ffe80d6f58c326ae0>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_disposeString referenced in function "public: enum CXChildVisitResult __thiscall <lambda_05504cba33cd203ffe80d6f58c326ae0>::operator()(struct CXCursor)const " (??R<lambda_05504cba33cd203ffe80d6f58c326ae0>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_createIndex referenced in function "public: virtual class Node * __thiscall ClangCodeParser::parseFnArg(class Location const &,class QString const &)" (?parseFnArg@ClangCodeParser@@UAEPAVNode@@ABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_disposeIndex referenced in function "public: virtual class Node * __thiscall ClangCodeParser::parseFnArg(class Location const &,class QString const &)" (?parseFnArg@ClangCodeParser@@UAEPAVNode@@ABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getFileName referenced in function "public: enum CXChildVisitResult __thiscall <lambda_1ce4b9415873f710a37fc50d0e0cd308>::operator()(struct CXCursor)const " (??R<lambda_1ce4b9415873f710a37fc50d0e0cd308>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_Location_isFromMainFile referenced in function "public: enum CXChildVisitResult __thiscall <lambda_1ce4b9415873f710a37fc50d0e0cd308>::operator()(struct CXCursor)const " (??R<lambda_1ce4b9415873f710a37fc50d0e0cd308>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_Range_isNull referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getPresumedLocation referenced in function "class Location __cdecl fromCXSourceLocation(struct CXSourceLocation)" (?fromCXSourceLocation@@YA?AVLocation@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getFileLocation referenced in function "public: enum CXChildVisitResult __thiscall <lambda_1ce4b9415873f710a37fc50d0e0cd308>::operator()(struct CXCursor)const " (??R<lambda_1ce4b9415873f710a37fc50d0e0cd308>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getRangeStart referenced in function "class QString __cdecl getSpelling(struct CXSourceRange)" (?getSpelling@@YA?AVQString@@UCXSourceRange@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getRangeEnd referenced in function "class QString __cdecl getSpelling(struct CXSourceRange)" (?getSpelling@@YA?AVQString@@UCXSourceRange@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getNumDiagnostics referenced in function "public: virtual class Node * __thiscall ClangCodeParser::parseFnArg(class Location const &,class QString const &)" (?parseFnArg@ClangCodeParser@@UAEPAVNode@@ABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getDiagnostic referenced in function "public: virtual class Node * __thiscall ClangCodeParser::parseFnArg(class Location const &,class QString const &)" (?parseFnArg@ClangCodeParser@@UAEPAVNode@@ABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_formatDiagnostic referenced in function "public: virtual class Node * __thiscall ClangCodeParser::parseFnArg(class Location const &,class QString const &)" (?parseFnArg@ClangCodeParser@@UAEPAVNode@@ABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_parseTranslationUnit2 referenced in function "private: void __thiscall ClangCodeParser::buildPCH(void)" (?buildPCH@ClangCodeParser@@AAEXXZ)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_defaultSaveOptions referenced in function "private: void __thiscall ClangCodeParser::buildPCH(void)" (?buildPCH@ClangCodeParser@@AAEXXZ)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_saveTranslationUnit referenced in function "private: void __thiscall ClangCodeParser::buildPCH(void)" (?buildPCH@ClangCodeParser@@AAEXXZ)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_disposeTranslationUnit referenced in function "private: void __thiscall ClangCodeParser::buildPCH(void)" (?buildPCH@ClangCodeParser@@AAEXXZ)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTranslationUnitCursor referenced in function "private: void __thiscall ClangCodeParser::buildPCH(void)" (?buildPCH@ClangCodeParser@@AAEXXZ)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_equalCursors referenced in function "private: class Aggregate * __thiscall ClangVisitor::getSemanticParent(struct CXCursor)" (?getSemanticParent@ClangVisitor@@AAEPAVAggregate@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorKind referenced in function "public: enum CXChildVisitResult __thiscall <lambda_05504cba33cd203ffe80d6f58c326ae0>::operator()(struct CXCursor)const " (??R<lambda_05504cba33cd203ffe80d6f58c326ae0>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_isDeclaration referenced in function "private: class Aggregate * __thiscall ClangVisitor::getSemanticParent(struct CXCursor)" (?getSemanticParent@ClangVisitor@@AAEPAVAggregate@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_isExpression referenced in function "public: __thiscall <lambda_b3c8463fa802c363c69a413a76bf1842>::operator()(struct CXCursor)const " (??R<lambda_b3c8463fa802c363c69a413a76bf1842>@@QBE@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_isInvalid referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorSemanticParent referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorLexicalParent referenced in function "private: class Aggregate * __thiscall ClangVisitor::getSemanticParent(struct CXCursor)" (?getSemanticParent@ClangVisitor@@AAEPAVAggregate@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getOverriddenCursors referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_disposeOverriddenCursors referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorLocation referenced in function "public: enum CXChildVisitResult __thiscall <lambda_1ce4b9415873f710a37fc50d0e0cd308>::operator()(struct CXCursor)const " (??R<lambda_1ce4b9415873f710a37fc50d0e0cd308>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorExtent referenced in function "public: __thiscall <lambda_b3c8463fa802c363c69a413a76bf1842>::operator()(struct CXCursor)const " (??R<lambda_b3c8463fa802c363c69a413a76bf1842>@@QBE@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorType referenced in function "public: enum CXChildVisitResult __thiscall <lambda_df3331fc953dab65ead59e209c6c3a27>::operator()(struct CXCursor)const " (??R<lambda_df3331fc953dab65ead59e209c6c3a27>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTypeSpelling referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getEnumConstantDeclValue referenced in function "public: enum CXChildVisitResult __thiscall <lambda_d991d7d7acee24c2ccb56ea2d279e17d>::operator()(struct CXCursor)const " (??R<lambda_d991d7d7acee24c2ccb56ea2d279e17d>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getPointeeType referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTypeDeclaration referenced in function "public: enum CXChildVisitResult __thiscall <lambda_df3331fc953dab65ead59e209c6c3a27>::operator()(struct CXCursor)const " (??R<lambda_df3331fc953dab65ead59e209c6c3a27>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getResultType referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getNumArgTypes referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getArgType referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_isFunctionTypeVariadic referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorResultType referenced in function "class QString __cdecl functionName(struct CXCursor)" (?functionName@@YA?AVQString@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_Type_getCXXRefQualifier referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCXXAccessSpecifier referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_visitChildren referenced in function "bool __cdecl visitChildrenLambda<class <lambda_05504cba33cd203ffe80d6f58c326ae0> >(struct CXCursor,class <lambda_05504cba33cd203ffe80d6f58c326ae0> &&)" (??$visitChildrenLambda@V<lambda_05504cba33cd203ffe80d6f58c326ae0>@@@@YA_NUCXCursor@@$$QAV<lambda_05504cba33cd203ffe80d6f58c326ae0>@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorSpelling referenced in function "public: enum CXChildVisitResult __thiscall <lambda_05504cba33cd203ffe80d6f58c326ae0>::operator()(struct CXCursor)const " (??R<lambda_05504cba33cd203ffe80d6f58c326ae0>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getCursorDisplayName referenced in function "public: enum CXChildVisitResult __thiscall <lambda_05504cba33cd203ffe80d6f58c326ae0>::operator()(struct CXCursor)const " (??R<lambda_05504cba33cd203ffe80d6f58c326ae0>@@QBE?AW4CXChildVisitResult@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_isCursorDefinition referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_Cursor_getCommentRange referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_CXXMethod_isPureVirtual referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_CXXMethod_isStatic referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_CXXMethod_isVirtual referenced in function "private: enum CXChildVisitResult __thiscall ClangVisitor::visitHeader(struct CXCursor,struct CXSourceLocation)" (?visitHeader@ClangVisitor@@AAE?AW4CXChildVisitResult@@UCXCursor@@UCXSourceLocation@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_CXXMethod_isConst referenced in function "class Node * __cdecl findFunctionNodeForCursor(class QDocDatabase *,struct CXCursor)" (?findFunctionNodeForCursor@@YAPAVNode@@PAVQDocDatabase@@UCXCursor@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTokenKind referenced in function "public: virtual void __thiscall ClangCodeParser::parseSourceFile(class Location const &,class QString const &)" (?parseSourceFile@ClangCodeParser@@UAEXABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTokenSpelling referenced in function "public: virtual void __thiscall ClangCodeParser::parseSourceFile(class Location const &,class QString const &)" (?parseSourceFile@ClangCodeParser@@UAEXABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTokenLocation referenced in function "public: virtual void __thiscall ClangCodeParser::parseSourceFile(class Location const &,class QString const &)" (?parseSourceFile@ClangCodeParser@@UAEXABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_getTokenExtent referenced in function "public: virtual void __thiscall ClangCodeParser::parseSourceFile(class Location const &,class QString const &)" (?parseSourceFile@ClangCodeParser@@UAEXABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_tokenize referenced in function "public: virtual void __thiscall ClangCodeParser::parseSourceFile(class Location const &,class QString const &)" (?parseSourceFile@ClangCodeParser@@UAEXABVLocation@@ABVQString@@@Z)
      clangcodeparser.obj : error LNK2019: unresolved external symbol __imp__clang_disposeTokens referenced in function "public: virtual void __thiscall ClangCodeParser::parseSourceFile(class Location const &,class QString const &)" (?parseSourceFile@ClangCodeParser@@UAEXABVLocation@@ABVQString@@@Z)
      C:\Utils\libclang-40-64\lib\libclang.lib : warning LNK4272: library machine type 'x64' conflicts with target machine type 'X86'
      ..\..\bin\qdoc.exe : fatal error LNK1120: 57 unresolved externals
      jom: C:\Users\qt\work\qt\qttools\src\qdoc\Makefile [release] Error 2
      ...
      

        For Gerrit Dashboard: QTBUG-64982
        # Subject Branch Project Status CR V

            hehalmet Heikki Halmet
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes