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

static libs from toolchain cannot be linked in Windows host

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.0 RC
    • 5.12.0 Beta 4
    • Device Creation
    • None
    • 8d854724ae70112e0961303ae8119510dedf799e

    Description

      There are static Qt libraries in the toolchain that are now built using GCC's lto option. Since GCC does not support lto on Windows host, it fails to link against those static libraries

      c:/work/qt/5.12.0/boot2qt/apalis-imx6/toolchain/sysroots/i686-pokysdk-mingw32/usr/bin/arm-poky-linux-gnueabi/../../libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/7.3.0/real-ld.exe: C:/work/Qt/5.12.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/lib\libQt5OpenGLExtensions.a(qopenglextensions.o): plugin needed to handle lto object
       

      Attachments

        Activity

          People

            sapiippo Samuli Piippo
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: