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

Build with gcc-7 fails due to removed __builtin_clzs/__builtin_ctzs functions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0
    • 5.7.0
    • None
    • Linux, x86_64, gcc-6.3, qt-5.7, haswell cpu with bmi1/bmi2 support
    • bb0f29f82b934b489f1679b7b72f094aa287be3c

    Description

      upcoming GCC-6.3 and 7 removed the "_builtin_clzs" and "_builtin_ctzs" functions, which leads to build errors in all qtcore modules, src/corelib/tools/qalgorithms.h

      I've attached a patch which seems to work (KDE-5 still runs just fine).

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            mlauss Manuel Lauss
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes