Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-6223

qt/qt5 build does not properly configure the ASAN configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • unversioned
    • Test configurations
    • None

      I just noticed how a test that should be skipped in the ASAN configuration in qtbase, was not being skipped in the nightly health check:

      This nightly health check has this log for building qtbase in the ASAN configuration.
      Notice how configure reports:

      agent:2024/03/27 22:21:40 build.go:404:   Sanitizers:
      agent:2024/03/27 22:21:40 build.go:404:     Addresses ............................ no
      

      This is the opposite of a usual qtbase integration.

      EDIT:
      I only see one difference in the configure line, and that is actually in the cmake command that configure generates:

      • The properly sanitized build has '-DFEATURE_sanitize_address=ON'
      • The nightly health check has '-DINPUT_sanitize_address=yes' which is bogus and does not work. In fact configure prints in the end:

        Manually-specified variables were not used by the project: INPUT_sanitize_address

      My guess is that this has to do with the configure script being executed on the qt5 repository vs the qtbase repository.

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

            tosaario Toni Saario
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes