[U-Boot-Users] Error compiling/linking

Wolfgang Denk wd at denx.de
Tue Mar 29 15:36:34 CEST 2005

Dear Daniel,

in message <9b7ca657050329033133e2f746 at mail.gmail.com> you wrote:
> After trying the compilation from the command line, I've found out the
> powerpc-linux-objdump was okay. But had segmentation fault during
> powerpc-linux-ld.

That was what I expected.

> So, doing rather simple trial and error method, I've got it compiled
> after removing line which reads "-Map u-boot.map".
> So, here is my concern, what exactly have I removed ?

Nothing important. that option causes the linker to  print  a  linker
map to file "u-boot.map". Normally nobody ever cares about this file,
except when you are trying to find out where memory is being spent or
how to layout your linker script to optimize flash usage.

> Also, if that line is causing the compilation error, where do you
> think I should start looking ?

File a bug report to the binutils folks. It must never dump core,  no
matter which options are given (and especially not on valid options).

Best regards,

Wolfgang Denk

Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's hard to make a program foolproof because fools are so ingenious.

More information about the U-Boot mailing list