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

[REG 6.3 -> 6.4] Build error with UBSAN

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.4.0 Beta1
    • 6.4.0
    • None
    • Ubuntu 20.04 LTS
      clang 10.0.0, 12.0.0
    • fa2830dc6e (qt/qtbase/dev) fa2830dc6e (qt/tqtc-qtbase/dev)

    Description

      1. Checked out qt5.git, initialized submodules qtbase:
        qtrob@rob-desktop:~/dev/src/qt-dev_02.21-base_svg$ git submodule status |grep v6
        b82061688d8a556d1d7d7f89e48642fc629a7a90 qtbase (v6.0.0-beta5-6133-gb82061688d)
        
      2. Configured Qt with UBSAN:
        qtrob@rob-desktop:~/dev/clang-10.0.0/qt-dev_02.21-base_svg-fubsan$ cat config.opt 
        -platform
        linux-clang
        -opensource
        -confirm-license
        -no-widgets
        -prefix
        /home/qtrob/dev/clang-10.0.0/qt-dev_02.21-base_svg-fubsan/qtbase
        -release
        -static
        -no-gc-binaries
        -sanitize
        fuzzer-no-link
        -sanitize
        undefined
        
      3. Built this:
        cmake --build . --parallel
        

        I ran into a build error.

      4. Logging the error and attaching it:
        qtrob@rob-desktop:~/dev/clang-10.0.0/qt-dev_02.21-base_svg-fubsan$ VERBOSE=1 cmake --build . > build.log
        

      Attachments

        1. build.log
          18 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes