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

MMX, SSE detection broken with Sun Studio

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • None
    • 4.7.1
    • None
    • OpenSolaris, Sun Studio 12.1 & 12.2, x86_64

    Description

      The tests for the MMX, SSE ... extensions in the configure script are hardwired for gcc. Since Sun Studio (or Oracle Solaris Studio as it is called now) uses different flags, none of them are enabled by default.

      The attached patch adds the sun studio compiler flags (http://docs.sun.com/app/docs/doc/819-5265/bjasq?l=en&a=view).
      Note the MMX part is suboptimal, as there is no direct flag enabling just MMX in sun studio.

      Attachments

        1. qt-configure-ext.diff
          4 kB
        2. qt-ext.diff
          3 kB
        3. qt-ext2.diff
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            hajma Pavel Heimlich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes