[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#157131: PROPOSAL] Suggest to minimize optimization when DEB_BUILD_OPTIONS contains "debug"



On Sun, 18 Aug 2002, Richard Braakman wrote:
> This would lose a feature that I find valuable: usually, recompiling 
> a package with the debug option will generate a binary whose symbols
> are compatible with the "normal" packaged binary.  I have used this
> several times to chase down hard-to-find library compatibility bugs,
> or to interpret core-files from crashes that are difficult to reproduce.
> 
> For that matter, there are also Heisenbugs to consider: some bugs only
> appear in the optimized version, not the un-optimized.  Compiling the
> debugging version with different optimization flags would make tracking
> down these bugs needlessly difficult.

I suggest we add the noopt option, then.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



Reply to: