From: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
Ingo Molnar <mingo@elte.hu>
Subject: compiling of tools/perf fail on x86 64bit kernel and 32bit userspace
Date: Fri, 06 May 2011 18:54:44 +0200 [thread overview]
Message-ID: <4DC427D4.7030903@gmail.com> (raw)
Hi,
with latest git, i cannot compile perf on 32 bit userspace with a 64 bit
kernel.
~/src/linux-2.6/tools/perf$ make
PERF_VERSION = 2.6.39.rc6.224.g06d006f
GEN common-cmds.h
* new build flags or prefix
CC perf.o
CC builtin-annotate.o
CC builtin-bench.o
CC bench/sched-messaging.o
CC bench/sched-pipe.o
CC bench/mem-memcpy-x86-64-asm.o
bench/../../../arch/x86/lib/memcpy_64.S: Assembler messages:
bench/../../../arch/x86/lib/memcpy_64.S:28: Error: bad register name `%rdi'
bench/../../../arch/x86/lib/memcpy_64.S:33: Error: invalid instruction
suffix for `movs'
ARCH=x86 make works fine
thanks,
riccardo
next reply other threads:[~2011-05-06 16:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-06 16:54 Riccardo Magliocchetti [this message]
2011-05-07 4:55 ` compiling of tools/perf fail on x86 64bit kernel and 32bit userspace Lin Ming
2011-05-07 14:46 ` Riccardo Magliocchetti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DC427D4.7030903@gmail.com \
--to=riccardo.magliocchetti@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@ghostprotocols.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).