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

"ASan runtime does not come first in initial library list" when building Qt Quick application with Qt configured with -sanitize address

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 6.0 (Next Major Release)
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:

      Description

      just built qt dev with cmake on ubuntu 20.04, created an empty qt quick example using that kit, but when i run it:

      ==95300==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

      i configured with:

      cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DFEATURE_developer_build=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DECM_ENABLE_SANITIZERS=address $sourceDir

        Attachments

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

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes