linux-mips
[Top] [All Lists]

Re: Kernel compile error.

To: Nicu Popovici <octavp@isratech.ro>
Subject: Re: Kernel compile error.
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Fri, 5 Jan 2001 21:39:54 +0100 (MET)
Cc: linux-mips@oss.sgi.com
In-reply-to: <3A56483D.17B57BD5@isratech.ro>
Organization: Technical University of Gdansk
Reply-to: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Sender: owner-linux-mips@oss.sgi.com
On Fri, 5 Jan 2001, Nicu Popovici wrote:

> /home/nicu/JUNGO/linux/include/asm/bugs.h:137: internal error--insn does
> not satisfy its constraints:
> (insn 244 241 250 (set (reg:SI 66 accum)
>         (reg:SI 6 a2)) 170 {movsi_internal2} (insn_list 241
> (insn_list:REG_DEP_ANTI 98 (insn_list:REG_DEP_OUTPUT 138
> (insn_list:REG_DEP_ANTI 247 (insn_list:REG_DEP_ANTI 150 (nil))))))
>             (nil))
>             mips-linux-gcc: Internal compiler error: program cc1 got
> fatal signal 6
>             make: *** [init/main.o] Error 1
>             [nicu@ares linux]$ {standard input}: Assembler messages:
>             {standard input}:47: Error: unrecognized opcode `movl
> %cr0,$2'

 You are trying to assemble i386 instructions -- probably your include/asm
symlink is incorrect.  Make sure the ARCH make variable is set to "mips",
i.e. either run `make ARCH=mips <whatever>' or modify the top-level
Makefile (the one from our CVS appears to have ARCH hardcoded to "mips"
already). 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>