Re: rpc.lockd(8) seg faults on 5.2-RELEASE

From: Frode Nordahl <frode_at_nordahl.net>
Date: Fri, 30 Jan 2004 19:48:03 +0100
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
Received on Fri Jan 30 2004 - 09:48:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC