linux-mips
[Top] [All Lists]

Re: Fwd: mips 16 bit compilation lead to crash

To: keshav yadav <keshav.yadav2005@gmail.com>
Subject: Re: Fwd: mips 16 bit compilation lead to crash
From: David Daney <ddaney@caviumnetworks.com>
Date: Mon, 17 Aug 2009 09:19:23 -0700
Cc: linux-mips@linux-mips.org, binutils <binutils@sourceware.org>
In-reply-to: <9651e57b0908160721g4d9893bfrcd1afcb66f3b28d1@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <9651e57b0908160650s2b81e48bod8fc1d50c19c8e5b@mail.gmail.com> <9651e57b0908160721g4d9893bfrcd1afcb66f3b28d1@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
The proper forum for this question is binutils@sourceware.org (now CCed).

keshav yadav wrote:
---------- Forwarded message ----------
From: keshav yadav <keshav.yadav2005@gmail.com>
Date: Sun, Aug 16, 2009 at 7:20 PM
Subject: mips 16 bit compilation lead to crash
To: gcc-help@gcc.gnu.org, gcc-help@gnu.org


Hi all,

I want to use MIPS 16 bit instruction similar to ARM thumb mode. But i
am getting error

#mips-gcc   -mips16   -o test.o test.c

/tmp/ccJFGlL0.s: Assembler messages:
/tmp/ccJFGlL0.s:17: Internal error!
Assertion failure in macro_build_lui at ../../gas/config/tc-mips.c line 3142

1. Is there problem in toolchain i have made ?
2. is i am giving 16 bit option to gcc correctly.


Your report is lacking important information:

1) Which versions of the tools are you using.

2) A self contained test case.  (The contents of test.c).

Because of those deficiencies, it is impossible to answer your questions.

David Daney

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