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

[Reg 5.11.0-beta4 - 5.11.0-RC] Building Qt fails "cannot find -lclang*" and "cannot find -lLLVM*"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 5.11.0 RC 1
    • 5.11.0 RC 1
    • Build System
    • Windows, Linux, macOS

    Description

      This is regression since 5.11.0-beta4. Shadow build fails with cannot find -lclang* and -lLLVM* libraries.

      Configure script used on Linux (should be (nearly) the same that Coin uses):

      ./configure -confirm-license -nomake tests -nomake examples -qt-libjpeg -qt-libpng -qt-xcb -qt-pcre -openssl -confirm-license -verbose -release -no-use-gold-linker -skip qtwebengine -skip qtwebsockets -skip qtwebchannel -skip qtwebview -commercial -prefix /home/qt/RTA/shadow/qtbase

      Build error:

      09:09:52 make[3]: Leaving directory '/home/qt/RTA/shadow/qt3d/src/doc'
      09:09:52 cd input/ && ( test -e Makefile || /home/qt/RTA/shadow/qtbase/bin/qmake -o Makefile /home/qt/RTA/src-5.11/qt3d/src/input/input.pro ) && make -f Makefile 
      09:09:52 /usr/bin/ld: cannot find -lclangApplyReplacements
      09:09:52 /usr/bin/ld: cannot find -lclangChangeNamespace
      09:09:52 /usr/bin/ld: cannot find -lclangCrossTU
      09:09:52 /usr/bin/ld: cannot find -lclangDaemon
      09:09:52 /usr/bin/ld: cannot find -lclangHandleCXX
      09:09:52 /usr/bin/ld: cannot find -lclangIncludeFixer
      09:09:52 /usr/bin/ld: cannot find -lclangIncludeFixerPlugin
      09:09:52 /usr/bin/ld: cannot find -lclangMove
      09:09:52 /usr/bin/ld: cannot find -lclangQuery
      09:09:52 /usr/bin/ld: cannot find -lclangReorderFields
      09:09:52 /usr/bin/ld: cannot find -lclang_static
      09:09:52 /usr/bin/ld: cannot find -lclangTidy
      09:09:52 /usr/bin/ld: cannot find -lclangTidyAndroidModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyBoostModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyBugproneModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyCERTModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyCppCoreGuidelinesModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyFuchsiaModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyGoogleModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyHICPPModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyLLVMModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyMiscModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyModernizeModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyMPIModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyObjCModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyPerformanceModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyPlugin
      09:09:52 /usr/bin/ld: cannot find -lclangTidyReadabilityModule
      09:09:52 /usr/bin/ld: cannot find -lclangTidyUtils
      09:09:52 /usr/bin/ld: cannot find -lclangToolingASTDiff
      09:09:52 /usr/bin/ld: cannot find -lclangToolingRefactor
      09:09:52 /usr/bin/ld: cannot find -lfindAllSymbols
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMAMDGPUUtils
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMARMUtils
      09:09:52 /usr/bin/ld: cannot find -lLLVMBinaryFormat
      09:09:52 /usr/bin/ld: cannot find -lLLVMBPFAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMBPFAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMBPFCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMBPFDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMBPFDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMBPFInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMDlltoolDriver
      09:09:52 /usr/bin/ld: cannot find -lLLVMFuzzMutate
      09:09:52 /usr/bin/ld: cannot find -lLLVMHexagonAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMHexagonCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMHexagonDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMHexagonDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMHexagonInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMLanaiAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMLanaiAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMLanaiCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMLanaiDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMLanaiDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMLanaiInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMMipsAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMMipsAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMMipsCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMMipsDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMMipsDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMMipsInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMMSP430AsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMMSP430CodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMMSP430Desc
      09:09:52 /usr/bin/ld: cannot find -lLLVMMSP430Info
      09:09:52 /usr/bin/ld: cannot find -lLLVMNVPTXAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMNVPTXCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMNVPTXDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMNVPTXInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMPowerPCAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMPowerPCAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMPowerPCCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMPowerPCDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMPowerPCDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMPowerPCInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMSparcAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMSparcAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMSparcCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMSparcDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMSparcDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMSparcInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMSystemZAsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMSystemZAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMSystemZCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMSystemZDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMSystemZDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMSystemZInfo
      09:09:52 /usr/bin/ld: cannot find -lLLVMWindowsManifest
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86AsmParser
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86AsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86CodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86Desc
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86Disassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86Info
      09:09:52 /usr/bin/ld: cannot find -lLLVMX86Utils
      09:09:52 /usr/bin/ld: cannot find -lLLVMXCoreAsmPrinter
      09:09:52 /usr/bin/ld: cannot find -lLLVMXCoreCodeGen
      09:09:52 /usr/bin/ld: cannot find -lLLVMXCoreDesc
      09:09:52 /usr/bin/ld: cannot find -lLLVMXCoreDisassembler
      09:09:52 /usr/bin/ld: cannot find -lLLVMXCoreInfo
      09:09:52 collect2: error: ld returned 1 exit status
      09:09:52 Makefile:197: recipe for target '/home/qt/RTA/shadow/qtbase/bin/qdoc' failed
      09:09:52 make[3]: *** [/home/qt/RTA/shadow/qtbase/bin/qdoc] Error 1
      09:09:52 make[3]: Leaving directory '/home/qt/RTA/shadow/qttools/src/qdoc'
      09:09:52 Makefile:203: recipe for target 'sub-qdoc-make_first' failed
      09:09:52 make[2]: *** [sub-qdoc-make_first] Error 2

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            shausman Simon Hausmann
            mipohjan Milla Pohjanheimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes