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

qtbase no longer build on solaris-g++-64 and solaris-g++ since commit 39fc377bf105ba09e2a8f9acae467dc789b96525

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.9.9, 5.12.8
    • Build System
    • None
    • solaris-g++-64 , solaris-g++
    • Other
    • ca33e7a7406f2301883e0f6fdc382e8f8aa58b94 (qt/qtbase/dev)

    Description

      The commit 39fc377bf105ba09e2a8f9acae467dc789b96525 (updating specs for the platform mingw) has removed the default compiler flag -fPIC for gcc. That's affect the specs for the solaris platforms.

      To succeed the build, I have to update specs as below:

      --- a/qtbase/mkspecs/solaris-g++-64/qmake.conf
      +++ b/qtbase/mkspecs/solaris-g++-64/qmake.conf
      @@ -10,6 +10,7 @@ include(../common/solaris.conf)

      {{ QMAKE_CFLAGS = -m64}}
      {{ QMAKE_LFLAGS = -m64}}
      +QMAKE_CFLAGS_PIC = -fPIC

      {{ QMAKE_LIBDIR_X11 = /usr/X11/lib/64}}
      {{ QMAKE_LIBDIR_OPENGL = /usr/X11/lib/64}}

       

      --- a/qtbase/mkspecs/solaris-g++/qmake.conf
      +++ b/qtbase/mkspecs/solaris-g++/qmake.conf
      @@ -8,6 +8,8 @@ QMAKE_INCREMENTAL_STYLE = sublib

      {{ include(../common/solaris.conf)}}

      +QMAKE_CFLAGS_PIC = -fPIC
      +
      {{ QMAKE_LIBDIR_X11 = /usr/X11/lib}}
      {{ QMAKE_LIBDIR_OPENGL = /usr/X11/lib}}

       

      Please, could you include this fix for 5.9 and up. Thanks.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            janbar janbar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes