From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 26 Mar 2004 11:00:17 +0000 (GMT) Received: from alg145.algor.co.uk ([IPv6:::ffff:62.254.210.145]:6157 "EHLO dmz.algor.co.uk") by linux-mips.org with ESMTP id ; Fri, 26 Mar 2004 11:00:16 +0000 Received: from alg158.algor.co.uk ([62.254.210.158] helo=olympia.mips.com) by dmz.algor.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 1B6oxA-0005uR-00; Fri, 26 Mar 2004 10:52:44 +0000 Received: from holborn.mips.com ([192.168.192.237] helo=mips.com) by olympia.mips.com with esmtp (Exim 3.36 #1 (Debian)) id 1B6p3v-0005UA-00; Fri, 26 Mar 2004 10:59:43 +0000 Message-ID: <40640D1E.6050403@mips.com> Date: Fri, 26 Mar 2004 10:59:42 +0000 From: Chris Dearman Organization: MIPS Technologies (UK) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en, en-us MIME-Version: 1.0 To: Shantanu Gogate CC: linux-mips@linux-mips.org Subject: Re: mips gcc compile error : unrecognized opcode errors References: <20040326102917.53609.qmail@web60703.mail.yahoo.com> In-Reply-To: <20040326102917.53609.qmail@web60703.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-MTUK-Scanner: Found to be clean X-MTUK-SpamCheck: not spam, SpamAssassin (score=-3.945, required 4, AWL, BAYES_00, USER_AGENT_MOZILLA_UA) Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 4650 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: chris@mips.com Precedence: bulk X-list: linux-mips Shantanu Gogate wrote: > Hi, > I am trying to cross compile a user mode application for mips and I am getting these error > messages when trying to do that: > > /tmp/ccgvdHuk.s: Assembler messages: > /tmp/ccgvdHuk.s:1270: Error: unrecognized opcode `btl $4,0($2)' > /tmp/ccgvdHuk.s:1270: Error: unrecognized opcode `setcb $25' > /tmp/ccgvdHuk.s:3124: Error: unrecognized opcode `btl $4,0($2)' > /tmp/ccgvdHuk.s:3124: Error: unrecognized opcode `setcb $25' > /tmp/ccgvdHuk.s:3769: Error: unrecognized opcode `btl $4,0($2)' > /tmp/ccgvdHuk.s:3769: Error: unrecognized opcode `setcb $25' These aren't MIPS opcodes. If they've been generated by the compiler then something is going badly wrong... Could you rebuild this file with the extra flags "-v --save-temps" and send me the compiler output and the .i file generated by the compiler. > I was able to successfully cross compile the kernel and busybox using the same cross > toolchain(although i needed to use 5.03 for busybox). I am running these on a redhat 7.3 box (alse What problems did you have building busybox with 5.06? Please send me details of this as well. Chris -- Chris Dearman The Fruit Farm, Ely Road voice +44 1223 706206 MIPS Technologies (UK) Chittering, Cambs, CB5 9PH fax +44 1223 706250