Personal tools
You are here: Home Issue tracker SConstruct should offer build with debug info (symbols) and optimizations, but without debug code

#72 — SConstruct should offer build with debug info (symbols) and optimizations, but without debug code

State Resolved
Version:
Area Process
Issue type Bug
Severity Important
Submitted by Uwe Kubosch
Submitted on Jul 09, 2010
Responsible Seth Heeren
Target release:
Return to tracker
Last modified on Sep 19, 2010 by Seth Heeren
the compilation modes set by the "debug" CLI argument are

0 = optimize and strip
1 = optimize with debug info
2 = debug info
3 = instrument functions

Settings 1-3 all define DEBUG which adds debug _code_ to the compilation in addition to debug symbols.

For the Fedora packages we need to build with optimizations and debug symbols, but without the debug code.

I suggest changing debug level 1 to define NDEBUG.
Added by Seth Heeren on Jul 10, 2010 03:54 AM
Severity: MediumImportant
Responsible manager: (UNASSIGNED)sgheeren
I think you've identified a pretty serious bug there. I'll have to see which versions are affected later today

I'll be back
Added by Seth Heeren on Sep 19, 2010 06:06 PM
Issue state: unconfirmedresolved
man do I feel bad for letting this one lay around for so long time. I'm really too busy.
Sigh

Indeed this affects all 0.6.9 releases onwards being introduced by cdf2f550f358 (granted, the situation _before_ was worse)
Fixing in testing for release in 0.7.0

Backporting to 0.6.9-maint.

Updating a ubuntu package for 0.6.9-maint1 tag