[sr-dev] Compilation defaults for git code
Henning Westerholt
henning.westerholt at 1und1.de
Thu Oct 15 11:45:48 CEST 2009
On Donnerstag, 15. Oktober 2009, Andrei Pelinescu-Onciul wrote:
> > Or perhaps it is just me having these issues? Maybe others have secret
> > techniques to share how to avoid such dumb problems?
>
> In some cases optimizations debugging is harder, but statistically
> that number of cases is small (we can figure most backtraces even with
> all the optimizations).
> I would rather have a fully optimized version and if I cannot figure a
> crash, turn on debugging, rather then having a version which works
> perfectly with debugging but sometimes crashes when optimized.
Andrei,
this is a good point. In kamailio times the default for the code was also "-
O9" (which is the same as -O3, IMHO), and debugging enabled. I don't remember
any case at the moment where i need to change this because of debugging, so i
think this setting is fine.
Regards,
Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20091015/d59a6da6/attachment.htm>
More information about the sr-dev
mailing list