check-cpuscript in the MySQL
BUILDdirectory does not always succeed in detecting the right processor:
BUILD/check-cpu: Oops, could not find out what kind of cpu this machine is using.
When you dig a little deeper into that script, you will notice that the name of you particular processor (in my case: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz) is indeed not there and thus not checked. Finally you may find that the model and name of your processor are passed to the
As far as I cans see the information is used to set the values of the
--marchcompiler options. What those are? Hehe! Ok, here's a partial result from
-march=cpu-type: Generate instructions for the machine type cpu-type. The choices for cpu-type are the same as for -mtune. Moreover, specifying -march=cpu-type implies -mtune=cpu-type.
Mmm, not sure why
-mtune=cpu-typeis there in the first place then...
/proc/cpuinfoto find out what kind of processor you really have....)