[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110507094006.GH27657@elte.hu>
Date: Sat, 7 May 2011 11:40:06 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Lin Ming <ming.m.lin@...el.com>
Cc: Arnaldo Carvalho de Melo <acme@...radead.org>,
Riccardo Magliocchetti <riccardo.magliocchetti@...il.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] perf tools: Makefile: Use gcc to determine ARCH
* Lin Ming <ming.m.lin@...el.com> wrote:
> The original Makefile uses "uname -m" to determine ARCH.
> This causes problem on x86 when compile perf tool on 32 bit userspace
> with a 64 bit kernel.
>
> bench/../../../arch/x86/lib/memcpy_64.S: Assembler messages:
> bench/../../../arch/x86/lib/memcpy_64.S:28: Error: bad register name `%rdi'
>
> This is because "uname -m" returns x86_64 and memcpy_64.S is included in 32 bit build.
>
> Signed-off-by: Lin Ming <ming.m.lin@...el.com>
this changelog is missing an important line:
Reported-by: Riccardo Magliocchetti <riccardo.magliocchetti@...il.com>
I've added it.
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists