OpenVZ Forum


Home » General » Support » linux 2.6.8 compile error arch/i386/kernel/process.c
linux 2.6.8 compile error arch/i386/kernel/process.c [message #2889] Tue, 25 April 2006 12:32 Go to next message
mbarclay is currently offline  mbarclay
Messages: 2
Registered: April 2006
Junior Member
Hello,

I am unable to compile an OpenVZ patched kernel using gcc 2.95.4, 3.3.6, or 4.0.3. Any ideas? Thanks in advance!

Code:
linux-2.6.8.tar.gz
patch-022stab072-combined.gz

System Config:
gcc version 2.95.4 20011002 (Debian prerelease)
GNU ld version 2.16.91 20060118 Debian GNU/Linux
GNU assembler version 2.16.91 (i486-linux-gnu) using BFD version 2.16.91 20060118 Debian GNU/Linux

<----- snip ------->
  CC      arch/i386/kernel/process.o
{standard input}: Assembler messages:
{standard input}:765: Error: suffix or operands invalid for `mov'
{standard input}:766: Error: suffix or operands invalid for `mov'
{standard input}:994: Error: suffix or operands invalid for `mov'
{standard input}:995: Error: suffix or operands invalid for `mov'
{standard input}:1063: Error: suffix or operands invalid for `mov'
{standard input}:1064: Error: suffix or operands invalid for `mov'
{standard input}:1157: Error: suffix or operands invalid for `mov'
{standard input}:1158: Error: suffix or operands invalid for `mov'
{standard input}:1167: Error: suffix or operands invalid for `mov'
{standard input}:1179: Error: suffix or operands invalid for `mov'
Re: linux 2.6.8 compile error arch/i386/kernel/process.c [message #2895 is a reply to message #2889] Tue, 25 April 2006 16:07 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

AFAIR, gcc 2.95 is too old to compile 2.6.x kernels.
you need to upgrade gcc and binutils.


http://static.openvz.org/userbars/openvz-developer.png
Re: linux 2.6.8 compile error arch/i386/kernel/process.c [message #2898 is a reply to message #2895] Tue, 25 April 2006 16:27 Go to previous message
mbarclay is currently offline  mbarclay
Messages: 2
Registered: April 2006
Junior Member
I get this same error with gcc 3.3.6 and 4.0.3. I'm using the latest binutils (from debian) 2.16.

I scrounged a redhat enterprise linux 4 machine and it is compiling fine:
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)

go figure....

Thanks,
Matt
Previous Topic: Memory usage
Next Topic: ipt_state missing in 2.6.16?
Goto Forum:
  


Current Time: Sun Sep 15 12:57:19 GMT 2024

Total time taken to generate the page: 0.03416 seconds