This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fwd: mips 16 bit compilation lead to crash
- From: David Daney <ddaney at caviumnetworks dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: keshav yadav <keshav dot yadav2005 at gmail dot com>, binutils at sourceware dot org, gcc-help at gcc dot gnu dot org, iant at google dot com
- Date: Tue, 18 Aug 2009 10:10:19 -0700
- Subject: Re: Fwd: mips 16 bit compilation lead to crash
- References: <9651e57b0908160650s2b81e48bod8fc1d50c19c8e5b@mail.gmail.com> <9651e57b0908160721g4d9893bfrcd1afcb66f3b28d1@mail.gmail.com> <4A89830B.40904@caviumnetworks.com> <9651e57b0908172109o381687bfj914f766c2665612@mail.gmail.com> <4A8A593D.8080806@redhat.com>
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