gcc build with -O0 results in corrupted -debuginfo package

Adam Jackson ajax at redhat.com
Fri Apr 25 18:03:20 UTC 2014


On Fri, 2014-04-25 at 18:10 +0200, Kevin Kofler wrote:
> Petr Spacek wrote:
> > I'm going to reproduce and debug issue in named. Do you see any specific
> > reason why I should use -O2 for serious debugging/development sessions?
> 
> IMHO, you should always debug with optimization enabled. GDB can cope quite 
> well with it,

ha ha ha ha ha ha ha ha ha ha

No, seriously, he's trying something completely reasonable.  Maybe think
about how to diagnose what's going wrong and fix the bug instead of
philosophizing.

- ajax



More information about the devel mailing list