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

MSVC nmake builds use the same pdb file for compiling and linking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.2
    • 5.6.0
    • Build tools: qmake
    • None
    • 3d3d65f538fa22eb8c5d9c8a4bad53bf79515848

    Description

      MSVC nmake builds use by default the same pdb file for compiling and linking: $$TARGET.pdb (simplified).
      This can result in corrupted PDB files and longer build times.

      The PDB created by the compiler and the PDB created by the linker are different beasts and should be kept separately. Also, the intermediate nature of the compiler's PDB suggests that they should not be added to the distclean but the clean target.

      References:

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes