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

Wolfgang Wegner wolfgang at leila.ping.de
Sat Mar 1 17:09:44 CET 2008


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





More information about the U-Boot mailing list