public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] linker problems with u-boot-1.3.2-rc2/binutils-2.18 for Ocotoea target
@ 2008-03-01 16:09 Wolfgang Wegner
  2008-03-01 18:30 ` Wolfgang Wegner
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfgang Wegner @ 2008-03-01 16:09 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] linker problems with u-boot-1.3.2-rc2/binutils-2.18 for Ocotoea target
  2008-03-01 16:09 [U-Boot-Users] linker problems with u-boot-1.3.2-rc2/binutils-2.18 for Ocotoea target Wolfgang Wegner
@ 2008-03-01 18:30 ` Wolfgang Wegner
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Wegner @ 2008-03-01 18:30 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-01 18:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-01 16:09 [U-Boot-Users] linker problems with u-boot-1.3.2-rc2/binutils-2.18 for Ocotoea target Wolfgang Wegner
2008-03-01 18:30 ` Wolfgang Wegner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox