GCC debug info + optimization

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Fri Sep 3 16:23:05 CEST 2021

On 03.09.21 16:09, Alan DeKok wrote:
> 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.

Thank you very much for your quick and competent answer - as always!


More information about the Freeradius-Users mailing list