← Back to team overview

hipl-core team mailing list archive

[Bug 626719] Re: Optimizations not disabled (-O0) when enabling debug flags (-g)

 

Setting the -g and -O0 at the same time would make debugging with gdb
simpler. Maybe -O2 should be used with --disable-debug or --enable-
performance (or a new option).

-- 
Optimizations not disabled (-O0) when enabling debug flags (-g)
https://bugs.launchpad.net/bugs/626719
You received this bug notification because you are a member of HIPL core
team, which is subscribed to HIPL.

Status in Host Identity Protocol for Linux: New

Bug description:
I don't think there's a point in setting -g without also setting -O0 (and preventing -O2 from superseding it), but that's the case right now. If --enable-debug is desired solely for verbose output, maybe it should be split into another option?





References