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

> > 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.

i generally concur with this, though others don't :-)

Home | Main Index | Thread Index | Old Index