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

Linker errors for static developer build with clang

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.0 Alpha
    • 5.12
    • QPA: Wayland
    • Ubuntu 18.04 LTS 64 bit
      clang 6.0
    • 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

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

        Activity

          People

            johanhelsing Johan Helsing
            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