Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
stable Binutils version..?? (GCC question) - Miguel Angel - Jul 16 9:20:56 2009
Can I ask, for GCC users, which binutils version are you using?
That's the second time I hit this kind of bugs with binutils, now on the
last snapshot I built:
GNU ld (GNU Binutils) 2.19.51.20090614
I get this on my binary:
That 0xD8F04 should be 0x02F04 ....
I get a really "nice" crash ':S
.text:00012DC8 __ZGPrvMacReadReady_from_thumb
.text:00012DC8 78 47 BX PC
.text:00012DC8 ;
---------------------------------------------------------------------------
.text:00012DCA C0 46 ALIGN 4
.text:00012DCC CODE32
.text:00012DCC
.text:00012DCC loc_12DCC
*.text:00012DCC 4C 18 03 EA B 0xD8F04*
.text:00012DCC ; End of function __ZGPrvMacReadReady_from_thumb
.text:00012DCC
.text:00012DD0 CODE16
.text:00012DD0
.text:00002F04 EXPORT ZGPrvMacReadReady
.text:00002F04 ZGPrvMacReadReady
.text:00002F04
.text:00002F04 var_4 = -4
.text:00002F04 arg_0 = 0
.text:00002F04
.text:00002F04 04 B0 2D E5 STR R11, [SP,#var_4]!
.text:00002F08 00 B0 8D E2 ADD R11, SP, #arg_0
.text:00002F0C 10 30 9F E5 LDR R3, =gblDriverContext
--
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 91 120 1798
+34 636 52 25 69
skype: ajoajoajo
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: stable Binutils version..?? (GCC question) - Miguel Angel - Jul 16 10:11:36 2009
Tested on binutils 2.17.90, crosscompiled binutils from linux->windows,and
it works.
I hope I won't have to face this bug anymore... S ;)
2009/7/16 Miguel Angel
> Can I ask, for GCC users, which binutils version are you using?
>
> That's the second time I hit this kind of bugs with binutils, now on the
> last snapshot I built:
> GNU ld (GNU Binutils) 2.19.51.20090614
>
> I get this on my binary:
> That 0xD8F04 should be 0x02F04 ....
> I get a really "nice" crash ':S
> .text:00012DC8 __ZGPrvMacReadReady_from_thumb
> .text:00012DC8 78 47 BX PC
> .text:00012DC8 ;
> ---------------------------------------------------------------------------
> .text:00012DCA C0 46 ALIGN 4
> .text:00012DCC CODE32
> .text:00012DCC
> .text:00012DCC loc_12DCC
> *.text:00012DCC 4C 18 03 EA B 0xD8F04*
> .text:00012DCC ; End of function __ZGPrvMacReadReady_from_thumb
> .text:00012DCC
> .text:00012DD0 CODE16
> .text:00012DD0
> .text:00002F04 EXPORT ZGPrvMacReadReady
> .text:00002F04 ZGPrvMacReadReady
> .text:00002F04
> .text:00002F04 var_4 = -4
> .text:00002F04 arg_0 = 0
> .text:00002F04
> .text:00002F04 04 B0 2D E5 STR R11, [SP,#var_4]!
> .text:00002F08 00 B0 8D E2 ADD R11, SP, #arg_0
> .text:00002F0C 10 30 9F E5 LDR R3, =gblDriverContext
>
> --
> Miguel Angel Ajo Pelayo
> http://www.nbee.es
> +34 91 120 1798
> +34 636 52 25 69
> skype: ajoajoajo
--
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 91 120 1798
+34 636 52 25 69
skype: ajoajoajo
[Non-text portions of this message have been removed]
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: Re: stable Binutils version..?? (GCC question) - 42Bastian - Jul 16 10:17:11 2009
Miguel Angel schrieb:
> Tested on binutils 2.17.90, crosscompiled binutils from linux->windows,and
> it works.
You should try to build a simple example and report it to the binutils
maintainers.
--
42Bastian
------------------
Parts of this email are written with invisible ink.
Note: SPAM-only account, direct mail to bs42@...
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: Re: stable Binutils version..?? (GCC question) - Miguel Angel - Jul 16 10:19:57 2009
Yes, I think that I should really do it. But I've tried to reproduceit with
simple examples, and I got nothing. May be I could
provide them with ready-to-link object files and libraries. Do they
usually accept this?
2009/7/16 42Bastian
> Miguel Angel schrieb:
>
> > Tested on binutils 2.17.90, crosscompiled binutils from
> linux->windows,and
> > it works.
>
> You should try to build a simple example and report it to the binutils
> maintainers.
>
> --
> 42Bastian
> ------------------
> Parts of this email are written with invisible ink.
>
> Note: SPAM-only account, direct mail to bs42@...
>
>
>
--
Miguel Angel Ajo Pelayo
http://www.nbee.es
+34 91 120 1798
+34 636 52 25 69
skype: ajoajoajo
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: Re: stable Binutils version..?? (GCC question) - 42Bastian - Jul 16 10:27:29 2009
> Yes, I think that I should really do it. But I've tried to reproduceit with
> simple examples, and I got nothing. May be I could
> provide them with ready-to-link object files and libraries. Do they
> usually accept this?
Bugzilla accpets attachments, but I never tried. But you might check the
bugzilla FAQ.
I often gave up, if I could not reproduce a bug in a simple example.
(Mostly because, most of the SW I write may not be opened to the public)
--
42Bastian
------------------
Parts of this email are written with invisible ink.
Note: SPAM-only account, direct mail to bs42@...
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: stable Binutils version..?? (GCC question) - rtstofer - Jul 16 10:29:00 2009
I have just started using binutils version 2.19
I got all of the source and the build instructions from www.gnuarm.ORG/support.html. Be
aware that www.gnuarm.ORG redirects to the YAGARTO site unless you start with a URL other
than the default home page.
The version on www.gnuarm.COM is much older.
I'm not sure what is going on with GNUARM.
Richard
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: stable Binutils version..?? (GCC question) - jsm09a - Jul 16 10:49:05 2009
--- In l...@yahoogroups.com, Miguel Angel
wrote:
>
> Can I ask, for GCC users, which binutils version are you using?
Since you asked ... gcc 3.4.6, binutils 2.16.1.
ancient, I know, but I haven't had any problems ...
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )