linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #05727
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2949: disable DWARF 4 for now, it crashes both GCC & GDB
------------------------------------------------------------
revno: 2949
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sun 2012-06-17 17:18:43 +0200
message:
disable DWARF 4 for now, it crashes both GCC & GDB
modified:
SConstruct
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'SConstruct'
--- SConstruct 2012-06-16 12:59:52 +0000
+++ SConstruct 2012-06-17 15:18:43 +0000
@@ -8,9 +8,12 @@
# force DWARF 4 in order to benefit from the typed DWARF stack (duplicated type info entries are
# grouped in a new .debug_types section). reduces the pdb size by 15MB and improves type resolution
# in the crash logger.
+# TODO switch to DWARF 4 in the future when the following bugs are fixed:
+# - ICE when building in release mode
+# - GDB crash: <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47308>
gcc_flags = {
- 'common': ['-gdwarf-4', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wno-unused-value', '-Wno-missing-field-initializers', '-Wno-address', '-fexceptions', '-mthreads'],
+ 'common': ['-g', '-Wall', '-Wextra', '-Wno-unused-parameter', '-Wno-unused-value', '-Wno-missing-field-initializers', '-Wno-address', '-fexceptions', '-mthreads'],
'debug': [],
'release' : ['-O3', '-mwindows']
}
@@ -47,7 +50,7 @@
}
gcc_link_flags = {
- 'common' : ['-gdwarf-4', '-static-libgcc', '-static-libstdc++', '-Wl,--no-undefined,--nxcompat,--dynamicbase', '-time', '-mthreads'],
+ 'common' : ['-g', '-static-libgcc', '-static-libstdc++', '-Wl,--no-undefined,--nxcompat,--dynamicbase', '-time', '-mthreads'],
'debug' : [],
'release' : ['-mwindows']
}