...not the same as the old linker!
I got around to installing, on Perdita, the ARM cross-development tools from emdebian. To test them, I attempted to build AGROS.
Well, it turned out I had a couple of errors in the Makefile, which not previously been apparent, but which turned up with the toolchain being installed under a different name (arm-linux-gnu- instead of arm-linux-).
Those being corrected, everything went fine up until the link operation. Then I got:
arm-linux-gnu-ld: build.elf: section `.init' can't be allocated in segment 0
Eh?
So, I did a bit of Googling. Got several results, all fairly recent, and all (where I could identify the version) relating to binutils 2.17.50. Hmmm.
OK, so rummage around emdebian's apt pool, find a binutils that isn't based on a recent CVS snapshot, and downgrade to that... ld claims to be plain vanilla 2.17, and it works. Whew!
Comments