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

    • 19816826873ebb3a89b2173f8685a8d448410680 (qt/qtbase/dev) f8f5c16071710221231911fc2f6cd1e12ad804f9 (qt/qtbase/6.2)

      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

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

            alexandru.croitor Alexandru Croitor
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: