Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-24 Thread Andrew Morton
On Wed, 24 Mar 2010 14:24:18 +0800 Huang Ying wrote: > Can you tell me how to setup the building environment with binutils > 2.16.1? I just build it by hand and make the installed bin directory the > first one in $PATH. gcc searches an internal search patch before $PATH. They say this can be ov

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-24 Thread Herbert Xu
On Wed, Mar 24, 2010 at 02:24:18PM +0800, Huang Ying wrote: > > Subject: [BUGFIX] Fix another AES-NI CTR optimization compiling failure with > gas 2.16.1 > > The previous AES-NI CTR optimization compiling failure gas 2.16.1 fix > introduces another compiling failure by itself. This patch fixes th

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-23 Thread Huang Ying
Hi, Andrew, On Wed, 2010-03-24 at 05:23 +0800, Andrew Morton wrote: > On Fri, 12 Mar 2010 15:01:47 +0800 > Huang Ying wrote: > > > Andrew Morton reported that AES-NI CTR optimization failed to compile > > with gas 2.16.1, the error message is as follow: > > > > arch/x86/crypto/aesni-intel_asm.S

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-23 Thread Andrew Morton
On Fri, 12 Mar 2010 15:01:47 +0800 Huang Ying wrote: > Andrew Morton reported that AES-NI CTR optimization failed to compile > with gas 2.16.1, the error message is as follow: > > arch/x86/crypto/aesni-intel_asm.S: Assembler messages: > arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix or ope

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-13 Thread Herbert Xu
On Fri, Mar 12, 2010 at 03:01:47PM +0800, Huang Ying wrote: > Andrew Morton reported that AES-NI CTR optimization failed to compile > with gas 2.16.1, the error message is as follow: > > arch/x86/crypto/aesni-intel_asm.S: Assembler messages: > arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix o

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-12 Thread Avi Kivity
On 03/12/2010 10:50 AM, David Miller wrote: From: Avi Kivity Date: Fri, 12 Mar 2010 10:44:58 +0200 Strange, that people can install a new kernel, but not a new assembler. Someone shouldn't have to upgrade their tools to build the kernel. The kernel would still build, just witho

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-12 Thread David Miller
From: Avi Kivity Date: Fri, 12 Mar 2010 10:44:58 +0200 > Strange, that people can install a new kernel, but not a new > assembler. Someone shouldn't have to upgrade their tools to build the kernel. And we work very hard to make sure this is the case except in the most unavoidable situations. --

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-12 Thread Avi Kivity
On 03/12/2010 10:42 AM, David Miller wrote: From: Avi Kivity Date: Fri, 12 Mar 2010 10:37:33 +0200 Eventually you'll port the entire assembler into macros, as instructions are introduced more frequently that people upgrade their assemblers. Maybe we should disable the new features and warn

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-12 Thread David Miller
From: Avi Kivity Date: Fri, 12 Mar 2010 10:37:33 +0200 > Eventually you'll port the entire assembler into macros, as > instructions are introduced more frequently that people upgrade their > assemblers. Maybe we should disable the new features and warn people > (and distros) to upgrade their too

Re: [BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-12 Thread Avi Kivity
On 03/12/2010 09:01 AM, Huang Ying wrote: Andrew Morton reported that AES-NI CTR optimization failed to compile with gas 2.16.1, the error message is as follow: arch/x86/crypto/aesni-intel_asm.S: Assembler messages: arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix or operands invalid for `m

[BUGFIX] Fix AES-NI CTR optimization compiling failure with gas 2.16.1

2010-03-11 Thread Huang Ying
Andrew Morton reported that AES-NI CTR optimization failed to compile with gas 2.16.1, the error message is as follow: arch/x86/crypto/aesni-intel_asm.S: Assembler messages: arch/x86/crypto/aesni-intel_asm.S:752: Error: suffix or operands invalid for `movq' arch/x86/crypto/aesni-intel_asm.S:753: