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

Linker errors for static developer build with clang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.12
    • Fix Version/s: 5.12.0 Alpha
    • Component/s: QPA: Wayland
    • Environment:
      Ubuntu 18.04 LTS 64 bit
      clang 6.0
    • Platform/s:
      Linux/Wayland

      Description

      I configured current dev branch with

      -platform linux-clang -static -developer-build -opensource -confirm-license -nomake examples -nomake tests
      

      Running make then ends with lots of errors like:

      /usr/bin/ld.gold: error: /home/qtrob/dev/clang-6.0.0/qt-dev-static/qtbase/plugins/wayland-shell-integration/libxdg-shell.a(qwayland-xdg-shell.o): multiple definition of 'QtWayland::xdg_surface::ack_configure(unsigned int)'
      /usr/bin/ld.gold: /home/qtrob/dev/clang-6.0.0/qt-dev-static/qtbase/plugins/wayland-shell-integration/libxdg-shell-v5.a(qwayland-xdg-shell-unstable-v5.o): previous definition here
      

        Attachments

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

          Activity

            People

            • Assignee:
              johanhelsing Johan Helsing
              Reporter:
              rlohning Robert Löhning
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes