Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Sep 2012 10:26:54 +0100
From:      Jake Smith <jake@avenue22.net>
To:        <freebsd-ports@freebsd.org>, <freebsd-hackers@freebsd.org>
Subject:   Building with WITH_DEBUG (-g) in make.conf
Message-ID:  <53c5133d8fac4f4353eda0add82e2234@viper-webmail.viper.enta.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53c5133d8fac4f4353eda0add82e2234>