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

mkspec linux-clang-libc++ links to libstdc++

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 6.0.0
    • Build System
    • linux clang libc++

    Description

      when building qt with cmake definition QT_QMAKE_TARGET_MKSPEC=linux-clang-libc++, the build passes, but building a simple test project with qmake fails with a lot of linker errors:

       

      libQt6Core.a(qthread_unix.cpp.o):(.data+0x0): undefined reference to `typeinfo for __cxxabiv1::__forced_unwind'
      /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_tree.h:366: undefined reference to `std::_Rb_tree_increment(std::_Rb_tree_node_base const*)'
      etc.
      

       

      full log available on https://github.com/bincrafters/conan-qt/runs/1523071020#step:5:18457

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              ericlemanissier Eric Lemanissier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes