Created Sat, 04 Oct 2014 14:58:12 +0000 by Michael Ring
Sat, 04 Oct 2014 14:58:12 +0000
Hi!
OK, this might be a little off topic, but perhaps somebody is able to help me...
I am currently using the pic32-tools from 20130228 with freepascal on my fubarino board.
I now wanted to switch to the tools for pic32mz but there is a problem:
During Link I get the following error message:
/Users/ring/mpide/pic32-ld: BFD (chipKIT) 2.23.51. chipKIT Compiler v1.31 assertion fail ../../../chipKIT-cxx/src45x/binutils/bfd/elflink.c:9320 hello.pas(76) Error: Can't call the linker, switching to external linking
Unfortunately I cannot find the source code for bfd in github, can you give me a pointer where to find the sources or can you tell me what this assertation is about?
Thank you,
Michael
Mon, 06 Oct 2014 03:10:00 +0000
What do you mean by pic32-tools? I think you need a pretty recent version of MPIDE to get a compiler that will build for MZ parts.
Jacob
Sat, 11 Oct 2014 12:27:57 +0000
Yes, you need this:
http://chipkit.s3.amazonaws.com/compilers/mz/pic32-tools-chipKIT-cxx-dev_pic32mz_B-Darwin-image.zip
to be able to work with pic32mz cpu's and this version is causing me troubles.
With the old 2013 version linking of my code (for pic32mx chips) works fine, when I use the new zipfile (which should work for mx and mz code) then I get the linker error described in my first post.
I cannot analyze the problem because I cannot find the sourcecode for the new compiler/binutils, so any pointer on the problem or where to find the sources of binutils is highly appreciated
Sat, 11 Oct 2014 12:51:44 +0000
Are you using the newer format linker scripts (bundled with MPIDE) with the new compiler? The format of them has changed, and you need to keep them in sync.