Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 19:48:03 +0100
From:      Frode Nordahl <frode@nordahl.net>
To:        obrien@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Re: rpc.lockd(8) seg faults on 5.2-RELEASE
Message-ID:  <D5F9000A-5354-11D8-A19F-000A95A9A574@nordahl.net>
In-Reply-To: <20040130162835.GD5544@dragon.nuxi.com>
References:  <3DC16400-517B-11D8-9CB2-0005028F6AEB@TrueStep.com> <B6959364-5240-11D8-91E0-000A95A9A574@nordahl.net> <68FC202A-525D-11D8-B122-000A95A9A574@nordahl.net> <20040129135653.H21660@mail.allcaps.org> <236E6CBD-5301-11D8-B122-000A95A9A574@nordahl.net> <20040130162835.GD5544@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jan 30, 2004, at 17:28, David O'Brien wrote:
>> Added -O0 now.
>
> You auctually *do* want -O in CFLAGS.  -O0 means to totally turn off 
> the
> optimizer.  GCC sometimes generates bad code with the optimizer turned
> off.  -O or -O1 is the offical FreeBSD optimization level.

Of course, I normally would want this, but I am trying to avoid core 
dumps that will make gdb show wrong line numbers.

I thought optimization some times caused such problems, or is it 
something else?


Mvh,
Frode



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D5F9000A-5354-11D8-A19F-000A95A9A574>