GCC debug info + optimization

Alan DeKok aland at deployingradius.com
Fri Sep 3 16:09:34 CEST 2021

On Sep 3, 2021, at 8:42 AM, g4-lisz at tonarchiv.ch wrote:
> On our site the freeradius was compiled with -g flag (and no
> optimization) for debugging reasons.
> Should this be avoided for productive use? And should be used some
> optimization level  (-O) instead?

  Using -g is fine.  CPUs are so over-powered that losing 2-3% to non-optimized code just doesn't matter.

  Alan DeKok.

More information about the Freeradius-Users mailing list