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

Build using -release -force-debug-info missing both optimization and debug.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.3
    • 5.6.2
    • Build System
    • None
    • Mingw64 gcc5.1 on Windows 10.
    • 0f503e3bb9a047b68bd9c4b1ca4ca89b58d24d63

    Description

      git clone -b 5.6.2 git://code.qt.io/qt/qt5.git qt5.6.2
      cd qt5.6.2
      perl init-repository
      configure -prefix C:\Qt\5.6.2 -opensource -nomake tests -nomake examples -confirm-license -release -force-debug-info -accessibility -qt-zlib -qt-libjpeg -no-openssl -no-ssl -no-dbus -no-sql-sqlite -no-wmf-backend
      mingw32-make -j4
      

      qtbase/src/corelib/Makefile.Release contains:

      CFLAGS        = -pipe -fno-keep-inline-dllexport -O2 -g -Wall -Wextra $(DEFINES)
      CXXFLAGS      = -pipe -fno-keep-inline-dllexport -std=c++1z -fexceptions -mthreads -frtti -Wall -Wextra $(DEFINES)
      

      So yes, we get neither optimization nor debug for CXX sources...

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            xim Morten Neergaard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes