Building with WITH_DEBUG (-g) in make.conf

Jake Smith jake at avenue22.net
Tue Sep 4 09:35:45 UTC 2012


Hi,

Recently a service kept crashing on a production box with a SIGSEGV 11. 
So I rebuilt with debug symbols to analyse the core file, by adding 
WITH_DEBUG=yes into my make.conf (gcc -g).

It got me thinking, is there any reason why it would be a bad idea to 
build all my ports with debug symbols from now on? Are there any 
performance hits or security risks with this?

Many Thanks,

Jake


More information about the freebsd-hackers mailing list