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

QtCore4d.dll is built twice for -debug-release

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.0.0
    • 5.0.0 RC 1
    • Build tools: qmake
    • None
    • Windows 7
    • 787373d376785af56f3ea9abc7096c2c3522b5f0

    Description

      In a fresh build of qtbase

      cd src\corelib
      nmake clean
      cd ..\..
      jom
      

      The bug is that some files are compiled again when jom/nmake is called:

              E:\sandbox\jom\bin\jom.exe -f Makefile.Release
              cd corelib\ && ( if not exist Makefile F:\qt5\bin\qmake D:\qt5\qtbase\src\corelib\corelib.pro -o Makefile ) && E:\sandbox\jom\bin\jom.exe -f Makefile
              E:\sandbox\jom\bin\jom.exe -f Makefile.Debug all
              cl -c -FIqt_pch.h -Yuqt_pch.h -Fptmp\obj\debug_shared\Qt5Cored_pch.pch -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189 -EHsc -GR -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE -DQT_BUILD_CO
      RE_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DPCRE_HAVE_CONFIG_H -DPCR
      E_STATIC -DHB_EXPORT=Q_CORE_EXPORT -DQT_CORE_LIB -DQT_DLL -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\5.0.0" -I"..\..\include\QtCore\5.0.0\QtCore" -I"tmp" -I"global" -I"D:\qt5\q
      tbase\src\3rdparty\zlib" -I"D:\qt5\qtbase\src\3rdparty\pcre" -I"D:\qt5\qtbase\src\3rdparty\harfbuzz\src" -I"D:\qt5\qtbase\src\3rdparty\md5" -I"D:\qt5\qtbase\src\3rdparty\md4" -I"tmp\moc\debug_shared"
      -I"." -I"..\..\mkspecs\win32-msvc2012" -Fotmp\obj\debug_shared\ @f:\tmp\qtextstream.obj.4560.359.jom
      qtextstream.cpp
              cl -c -FIqt_pch.h -Yuqt_pch.h -Fptmp\obj\debug_shared\Qt5Cored_pch.pch -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189 -EHsc -GR -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE -DQT_BUILD_CO
      RE_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DPCRE_HAVE_CONFIG_H -DPCR
      E_STATIC -DHB_EXPORT=Q_CORE_EXPORT -DQT_CORE_LIB -DQT_DLL -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\5.0.0" -I"..\..\include\QtCore\5.0.0\QtCore" -I"tmp" -I"global" -I"D:\qt5\q
      tbase\src\3rdparty\zlib" -I"D:\qt5\qtbase\src\3rdparty\pcre" -I"D:\qt5\qtbase\src\3rdparty\harfbuzz\src" -I"D:\qt5\qtbase\src\3rdparty\md5" -I"D:\qt5\qtbase\src\3rdparty\md4" -I"tmp\moc\debug_shared"
      -I"." -I"..\..\mkspecs\win32-msvc2012" -Fotmp\obj\debug_shared\ @f:\tmp\qtimer.obj.4560.359.jom
      qtimer.cpp
              cl -c -FIqt_pch.h -Yuqt_pch.h -Fptmp\obj\debug_shared\Qt5Cored_pch.pch -nologo -Zm200 -Zc:wchar_t -Zi -MDd -W3 -w34100 -w34189 -EHsc -GR -DUNICODE -DWIN32 -DQT_NO_USING_NAMESPACE -DQT_BUILD_CO
      RE_LIB -DQT_BUILDING_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DPCRE_HAVE_CONFIG_H -DPCR
      E_STATIC -DHB_EXPORT=Q_CORE_EXPORT -DQT_CORE_LIB -DQT_DLL -I"..\..\include" -I"..\..\include\QtCore" -I"..\..\include\QtCore\5.0.0" -I"..\..\include\QtCore\5.0.0\QtCore" -I"tmp" -I"global" -I"D:\qt5\q
      tbase\src\3rdparty\zlib" -I"D:\qt5\qtbase\src\3rdparty\pcre" -I"D:\qt5\qtbase\src\3rdparty\harfbuzz\src" -I"D:\qt5\qtbase\src\3rdparty\md5" -I"D:\qt5\qtbase\src\3rdparty\md4" -I"tmp\moc\debug_shared"
      -I"." -I"..\..\mkspecs\win32-msvc2012" -Fotmp\obj\debug_shared\ @f:\tmp\qstatemachine.obj.4560.359.jom
      qstatemachine.cpp
              echo 1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ "..\\..\\lib\\Qt5Cored.dll.embed.manifest">..\..\lib\Qt5Cored.dll_manifest.rc
              if not exist ..\..\lib\Qt5Cored.dll del ..\..\lib\Qt5Cored.dll.embed.manifest>NUL 2>&1
              if exist ..\..\lib\Qt5Cored.dll.embed.manifest copy /Y ..\..\lib\Qt5Cored.dll.embed.manifest ..\..\lib\Qt5Cored.dll_manifest.bak
              1 Datei(en) kopiert.
              link /NOLOGO /DYNAMICBASE /NXCOMPAT /BASE:0x67000000 /DEBUG /DLL /VERSION:5.00 /MANIFEST /MANIFESTFILE:..\..\lib\Qt5Cored.dll.embed.manifest /OUT:..\..\lib\Qt5Cored.dll @f:\tmp\Qt5Cored.dll.45
      60.1170.jom
              if exist ..\..\lib\Qt5Cored.dll_manifest.bak fc /b ..\..\lib\Qt5Cored.dll.embed.manifest ..\..\lib\Qt5Cored.dll_manifest.bak >NUL || del ..\..\lib\Qt5Cored.dll_manifest.bak
              if not exist ..\..\lib\Qt5Cored.dll_manifest.bak rc.exe /fo..\..\lib\Qt5Cored.dll_manifest.res ..\..\lib\Qt5Cored.dll_manifest.rc
              if not exist ..\..\lib\Qt5Cored.dll_manifest.bak link /NOLOGO /DYNAMICBASE /NXCOMPAT /BASE:0x67000000 /DEBUG /DLL /VERSION:5.00 /MANIFEST /MANIFESTFILE:..\..\lib\Qt5Cored.dll.embed.manifest /O
      UT:..\..\lib\Qt5Cored.dll @f:\tmp\Qt5Cored.dll.4560.1186.jom
              if exist ..\..\lib\Qt5Cored.dll_manifest.bak del ..\..\lib\Qt5Cored.dll_manifest.bak
              copy /y "..\..\lib\Qt5Cored.dll" ..\..\bin
              1 Datei(en) kopiert.
      

      When configured with "-debug" it works. Seems the release build touches a debug header.

      Attachments

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

        Activity

          People

            buddenha Oswald Buddenhagen
            syntheticpp Peter Kümmel
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes