Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1387

"==13912==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." when building Qbs project with Qt built with ASAN

    XMLWordPrintable

    Details

    • Commits:
      a6bd01504c0b3a96b631475c57be3f3302af36ce (qbs/qbs/1.12) 1d2e98101d835bf699984a9770eeb055efcad2c3 (qbs/qbs/1.17)

      Description

      I'm on Ubuntu 18.04. I'm building https://github.com/mitchcurtis/slate with Qbs and ASAN:

      -developer-build
      -debug
      -opensource
      -confirm-license
      -nomake
      tests
      -nomake
      examples
      -silent
      -opengl
      desktop
      -sanitize
      address
      

      I get the following error message when attempting to run the application:

      12:25:54: Starting /home/mitch/dev/slate-qt5_12_debug-Debug/qtc_qt5_12_debug_Debug/install-root//app...
      ==13912==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.
      12:25:54: /home/mitch/dev/slate-qt5_12_debug-Debug/qtc_qt5_12_debug_Debug/install-root//app exited with code 1
      

        Attachments

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

          Activity

            People

            Assignee:
            mitch_curtis Mitch Curtis
            Reporter:
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes