[U-Boot-Users] linker problems with u-boot-1.3.2-rc2/binutils-2.18 for Ocotoea target

Hi all,
first of all, sorry for posting from the "wrong" account, but I do follow the answers from the subscribed account.
I just got my "new" Ocotoea board and wanted to compile U-Boot for it, so I grabbed binutils-2.18 and gcc-4.2.2 and started building...
Everything went fine until reaching the final stage of linking, there I get: powerpc-linux-ld: u-boot: section `.bootpg' can't be allocated in segment 1 powerpc-linux-ld: final link failed: Bad value
I found the .bootpg entry in the linker script, but I did not yet figure out what exactly it means, because with some PPC targets it is present while others do not have this entry. As I did not do anything with PPC yet (in U-Boot, only Coldfire), maybe somebody of the PPC experts could give me a hint what this is for?
Is this an obsolete entry, that should be removed/changed, or should I go back to an older binutils version?
Thank you very much, Wolfgang

Hi again,
On Sat, Mar 01, 2008 at 05:09:44PM +0100, Wolfgang Wegner wrote: [...]
Everything went fine until reaching the final stage of linking, there I get: powerpc-linux-ld: u-boot: section `.bootpg' can't be allocated in segment 1 powerpc-linux-ld: final link failed: Bad value
[...]
searching with some less narrow search strings revealed that it is a known binutils bug (Id 5205) of binutils-2.18. I just installed binutils from most recent cvs version and now linking U-Boot works again. (with GNU ld (GNU Binutils) 2.18.50.20080301)
Sorry for the noise.
Best regards, Wolfgang
participants (1)
-
wolfgang@leila.ping.de