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

LTO Qt 5.10 linux builds fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.10.0 Beta 2
    • Fix Version/s: 5.10.0 RC
    • Component/s: Build System, GUI: Vulkan
    • Labels:
      None
    • Commits:
      38bc9956079e2291d19b15d68cc2e6dd4a20f202

      Description

      Relevant part of the build log :

       

      g++ -Wl,--gc-sections -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -pipe -O2 -std=c++1z -fno-exceptions -flto=16 -fno-fat-lto-objects -fuse-linker-plugin -fPIC -o ../../bin/qtdiag .obj/main.o .obj/qtdiag.o .obj/qtdiag_plugin_import.o -L/opt/qt5-static/qtbase/plugins/platforms -lqxcb -L/opt/qt5-static/qtbase/lib -L/opt/qt5-static/qtbase/plugins/xcbglintegrations -lqxcb-egl-integration -lqxcb-glx-integration -lQt5XcbQpa -lxcb-xinerama -lQt5LinuxAccessibilitySupport -lQt5AccessibilitySupport -lQt5VulkanSupport -lQt5GlxSupport -lxcb-glx -lXi -lSM -lICE -lXrender -lxcb-xkb -lxcb-render-util -lxcb-render -lxcb-sync -lxcb-xfixes -lxcb-randr -lxcb-image -lxcb-shm -lxcb-keysyms -lxcb-icccm -lxcb-shape -lxkbcommon-x11 -L/opt/qt5-static/qtimageformats/plugins/imageformats -lqicns -lqjp2 -ljasper -lqmng -lmng -lqtga -lqtiff -ltiff -lqwbmp -lqwebp -lwebp -lwebpdemux -L/opt/qt5-static/qtbase/plugins/imageformats -lqgif -lqico -lqjpeg -ljpeg -L/opt/qt5-static/qtbase/plugins/egldeviceintegrations -lqeglfs-emu-integration -lqeglfs-kms-egldevice-integration -lqeglfs-kms-integration -lQt5EglFsKmsSupport -lQt5KmsSupport -lQt5EdidSupport -lgbm -ldrm -lqeglfs-x11-integration -lQt5EglFSDeviceIntegration -lQt5EventDispatcherSupport -lQt5ServiceSupport -lQt5ThemeSupport -lQt5FontDatabaseSupport -lfontconfig -lfreetype -lQt5FbSupport -lQt5EglSupport -lXext -lQt5InputSupport -lmtdev -linput -lxkbcommon -lQt5PlatformCompositorSupport -lQt5DeviceDiscoverySupport -ludev -lX11-xcb -lX11 -lxcb -lts -lEGL -L/opt/qt5-static/qtbase/plugins/bearer -lqconnmanbearer -lqgenericbearer -lqnmbearer -lQt5DBus -ldbus-1 -lQt5Widgets -lQt5Gui -lpng16 -lharfbuzz -lQt5Network -lQt5Core -lm -lz -licui18n -licuuc -licudata -lpcre2-16 -ldouble-conversion -ldl -lgthread-2.0 -lglib-2.0 -lGL -lpthread 
      /usr/bin/ld.gold : error : /opt/qt5-static/qtbase/lib/libQt5Gui.a: redundant definition for « lcVk() »
      /usr/bin/ld.gold: /opt/qt5-static/qtbase/lib/libQt5VulkanSupport.a: previous definition here

       

      Configured with :

      ./configure -opensource -confirm-license -release -static -skip qtwebengine -skip qtwebview -skip qt3d -ltcg -nomake examples -nomake test

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              lagocs Laszlo Agocs
              Reporter:
              jcelerier Jean-Michaël Celerier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes