Re: Fwd: mips 16 bit compilation lead to crash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi ,

I am using binutils GNU ld (GNU Binutils) 2.17.50.20070611.

and gcc version is 4.2.0.

and my test program is

#include<stdio.h>

int bar(int c,int d)
{

return c+d;

}
int foo(int c,int d)
{
c+=3;
d-=2;
return bar(c,d);

}
int main()
{

printf("HEllo World!!!!");
foo(1,2);
return 0;
}




On Mon, Aug 17, 2009 at 9:49 PM, David Daney<ddaney@xxxxxxxxxxxxxxxxxx> wrote:
> The proper forum for this question is binutils@xxxxxxxxxxxxxx (now CCed).
>
> keshav yadav wrote:
>>
>> ---------- Forwarded message ----------
>> From: keshav yadav <keshav.yadav2005@xxxxxxxxx>
>> Date: Sun, Aug 16, 2009 at 7:20 PM
>> Subject: mips 16 bit compilation lead to crash
>> To: gcc-help@xxxxxxxxxxx, gcc-help@xxxxxxx
>>
>>
>> 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
>


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux