hi,
On Tue, Oct 18, 2011 at 10:21 AM, Nobuhiro Iwamatsu
<[email protected]> wrote:
> Because these architecture does not support "-march=native".
> I made patch which revise this problem. Could you check and apply this patch?
yes, and I plan to contact upstream to fix this (because configure script seems
to be broken) suggesting a patch as follows:
--- configure.orig 2011-10-18 00:56:16.033903126 +0900
+++ configure 2011-10-18 01:26:46.366979251 +0900
@@ -298,9 +298,10 @@
}
{
+ $_ = `uname -m 2>&1`;
my $common = '';
if (GccIsSupport($global{'gcc_version'}, 4, 2, 0)) {
- $common .= '-march=native';
+ $common .= '-march=native' if /86/i;
} else {
$common .= '-march=k8' if /x86_64/i;
}
Your patch removes this if-clause entirely, which drops optimize
options even in x86 architecture. It seems to make a (little bit)
drastic cut, doesn't it?
regards,
--
KURASHIKI Satoru
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]