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

Frode Nordahl frode at nordahl.net
Fri Jan 30 10:48:05 PST 2004


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



More information about the freebsd-current mailing list