Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/external/cddl/osnet



On Fri, Jan 14, 2011 at 10:18:29AM +0100, haad wrote:
> 
> I would like to have zfs build with -g -O0 built by default,
> this is wip code and there is high probability that someone
> will find some problem with it, therefore I would like to have
> debugging symbols already builtin.

You really don't want to be using -O0, ever.
I certainly find it easier to understand generated asm with -O2 (or
even -O3) since there is alot less crap in there.

You also need to debug code with the same compilation options as you
will use for any final builds - otherwise you can get some very
nasty surprises.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index