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

SSE defines check build error for some Mac hardware configurations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.6
    • None
    • Mac OS X 10.6 - 10.9
    • macOS

    Description

      On some Mac hardware configurations, setting '-no-ssse3' or similar < sse4.x negative option, cascades up and turns off all greater sse* options.

      However, there are define checks in src/corelib/tools/qstring.cpp mergeQuestionMarks() that only check for _SSE4_x_, ignoring whether the associated option was turned off via a command line configure option.

      See https://github.com/Homebrew/homebrew/issues/28859#issuecomment-41865873 , where -no-ssse3 configure option is used, which should turn off SSE4 code, but _SSE4_x_ code is still executed.

      The attached patch ensures the QT_HAVE_SSE4_x defines are honored.

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              dakcarto Larry Shaffer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes