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

[REG qmake -> cmake] configure does not support "-sanitize fuzzer-no-link"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 6.0.0 Beta4
    • Build System: CMake
    • Ubuntu 20.04 LTS 64 bit
      clang 10.0.0

    Description

      Try configuring Qt like:

      ~/dev/src/qt-dev-base_svg-11.11/configure -platform linux-clang -sanitize fuzzer-no-link
      

      You will quickly get an error message:

      -- Enabling sanitizer: fuzzer-no-link
      CMake Error at qtbase/cmake/3rdparty/extra-cmake-modules/modules/ECMEnableSanitizers.cmake:144 (message):
        Compiler sanitizer option "fuzzer-no-link" not supported.
      Call Stack (most recent call first):
        qtbase/cmake/3rdparty/extra-cmake-modules/modules/ECMEnableSanitizers.cmake:155 (enable_sanitizer_flags)
        qtbase/cmake/QtSetup.cmake:206 (include)
        qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:173 (include)
        qtbase/cmake/QtBuildInternals/QtBuildInternalsConfig.cmake:227 (qt_build_internals_set_up_private_api)
        qtbase/CMakeLists.txt:65 (qt_build_repo_begin)
      
      
      -- Configuring incomplete, errors occurred!
      See also "/tmp/cmaketest/CMakeFiles/CMakeOutput.log".
      See also "/tmp/cmaketest/CMakeFiles/CMakeError.log".
      CMake Error at /home/qtrob/dev/src/qt-dev-base_svg-11.11/qtbase/cmake/QtProcessConfigureArgs.cmake:783 (message):
        CMake exited with code 1.
      

      With -qmake, this works fine.

      Attachments

        Issue Links

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

          Activity

            People

              andreasbuhr Andreas Buhr
              rlohning Robert Löhning
              Maurice Kalinowski Maurice Kalinowski
              Alex Blasche Alex Blasche
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes