tech-kern archive

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

Re: zfs crash on amd64

On Sat, Nov 07, 2009 at 11:29:42AM +0100, Adam Hamsik wrote:
>> You really don't want to use -O0, it will cause the code to be
>> much, much larger, run much, much slower and use more stack.
>> If it hides any bugs, when you change to -O2 for production use
>> you'll have to debug the code again.
> Otherwise gcc will inline functions for me makes almost impossible to  
> find out what is going on.

Do not drive screws with a hammer.  Use a screwdriver.

Just add -fno-inline to the compilation options.


Home | Main Index | Thread Index | Old Index