OSDN Git Service

arch/ia64/Makefile: Remove -mtune=merced in IA64 kernel build
authorFenghua Yu <[fenghua.yu@intel.com]>
Tue, 11 Aug 2009 21:52:11 +0000 (14:52 -0700)
committerFenghua Yu <fenghua.yu@intel.com>
Tue, 11 Aug 2009 21:52:11 +0000 (14:52 -0700)
commitbf2a4c7270b9a22243a91ab5efcc47aaf997c66b
treebe5393189eccb6a3cc12268ec2bf26b047745c7c
parentb5a8879347bbe68bd24c8870503bf6a0362da26b
arch/ia64/Makefile: Remove -mtune=merced in IA64 kernel build

Between GCC version 3.4.0 and 4.3.3 (including 3.4.0 and 4.3.3), -mtune=merced
is implemented in GCC. Starting from 4.4.0, -mtune=merced is deprecated.

Even implemented in versions between 3.4.0 and 4.3.3, the -mtune=merced
feature has been broken in some of the versions. For example, GCC 4.1.2 reports
interanl tuning function errors during kernel building with -mtune=merced. Or
GCC Bugzilla 16130 reports another -mtune=merced issue on GCC 3.4.1.

So I would remove the -mtune=merced from IA64 kernel build. Without this option,
kernel on Merced will remain the same except losing an unstable and out-of-date
performance tunning feature.

Since GCC version 3.4.0, -mtune=mckinley has been implemented. The
-mtune=mckinley option functions the same as mtune=itanium2. And mtune=itanium2
is the default option. So we don't need to add mtune=mckinley either since its
been the default option in any GCC version which implements this option.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
arch/ia64/Makefile