Details
-
Suggestion
-
Resolution: Done
-
P1: Critical
-
None
-
5.6.1, 5.7.0, 5.8
Description
Debug symbols are necessary for debugging and profiling.
On windows we need the .pdb files and on linux debug symbols can be delivered in separate files, too. The configure options for producing those (at least on linux) are "-force-debug-info -separate-debug-info". The resulting debug symbols could than be delivered as separate packages so that people who don't need them don't have to install them.
On Windows PDBs can be generated by adding these flags for VS configuration:
1. -Zi flag for compiler. It tells C compiler to create a "program database" debug information.
2. /DEBUG /OPT:REF flags for linker. /DEBUG turns on the creation of PDB and /OPT:REF tells the linker to eliminate unreferenced data (this debug info) from a DLL.
We need to check if our configure options already do this. If not, they should be fixed.
Attachments
Issue Links
- is duplicated by
-
QTBUG-29668 Creation of *.pdb files for release binaries in a separate package...
- Closed
- is required for
-
QTBUG-75048 Daily releasing work 1H2019
- Closed
-
QTBUG-78080 Daily releasing work 2H2019
- Closed
- relates to
-
QTBUG-32582 Debug symbols missing for Qt 5.1.0 SDK under Linux
- Closed
-
QTBUG-47402 Invalid signature for .pdb files in binary Windows package
- Closed
-
QTQAINFRA-1688 Coin/CI should support '-separate-debug-info'
- Closed
-
QTBUG-28915 pdb files should be distributed for visual studio debug build
- Closed
-
QTBUG-4232 Add pdb files to the Active Qt distribution
- Closed
- replaces
-
QTBUG-3739 The binary packages for Windows do not include the pdb files for the plugins
- Closed
-
QTBUG-10127 Provide debugging symbols for releases
- Closed
-
QTBUG-45407 Qt for Windows should be shipped with PDBs for release binaries as well, not only debug
- Closed
- resulted in
-
QTBUG-65818 Qt library files are huge
- Closed