lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4DC55B50.1030108@gmail.com>
Date:	Sat, 07 May 2011 16:46:40 +0200
From:	Riccardo Magliocchetti <riccardo.magliocchetti@...il.com>
To:	Lin Ming <minggr@...il.com>
CC:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: compiling of tools/perf fail on x86 64bit kernel and 32bit userspace

Hi there,

Il 07/05/2011 06:55, Lin Ming ha scritto:
> On Sat, May 7, 2011 at 12:54 AM, Riccardo Magliocchetti
> <riccardo.magliocchetti@...il.com>  wrote:
>> 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'
>
> Hi,
>
> I just send out a patch to fix this.
> https://lkml.org/lkml/2011/5/7/4
>
> Could you have a try it?

Works fine, thanks!

riccardo
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ