Fwd: mips 16 bit compilation lead to crash

David Daney ddaney@caviumnetworks.com
Wed Aug 19 10:07:00 GMT 2009


Nick Clifton wrote:
> Hi Keshav,
> 
>> I am using binutils GNU ld (GNU Binutils) 2.17.50.20070611.
> 
> Actually you are running into a problem with the assembler (gas) not the 
> linker (ld).  Also version 2.17 is quite old now.  We are currently on 
> version 2.19 and the development sources are even more advanced.
> 
>> and my test program is
> 
> How was your toolchain configured ?
> 
> I tried building your testcase with a toolchain configured for a 
> mipsisa32-elf target and using today's gcc and binutils sources and it 
> had no problems at all.
> 
> Perhaps you just need to upgrade you toolchain ?
> 

That is what I would recommend.  Use Binutils 2.19.1.  Many MIPS related 
bugs were fixed between 2.17.50.20070611 and 2.19.1.  If it still fails, 
we could investigate further.

David Daney



More information about the Gcc-help mailing list