[Users] Re: strange issue with mysql crashing in openvz

Martin Hudec corwin at aeternal.net
Sat May 12 13:52:09 EDT 2007


catam wrote:
> Seems I have found the issue , was CFLAGS
> 
> /proc/cpuinfo =>
> processor       : 0
> vendor_id       : GenuineIntel
> cpu family      : 15
> model           : 4
> model name      :                   Intel(R) Xeon(TM) CPU 3.00GHz
> 
> you need
> CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
> I had
> CFLAGS="-march=k8 -O2 -pipe"

I would leave that -fomit-frame-pointer out, it can go against debugging 
activities (stack tracing etc.). Simple -O2 and -pipe should be mostly 
enough.

Martin


More information about the Users mailing list