[U-Boot] Build problem - ppmc7xx configuration

Wolfgang Denk wd at denx.de
Thu May 22 14:51:23 CEST 2014


Dear Vasili,

In message <CA+gZxsOZun38nNFgTGBYFMTJ7fYM_jvdOjYe8XT2B1e-=ni47w at mail.gmail.com> you wrote:
> 
> I'm trying to compile the "v2014.04" tag using "ppmc7xx" configuration on
> Ubuntu using powerpc-none-eabi toolchain. I'm running the following:
...
> And receiving the following error:
> [...]
>   LDS     u-boot.lds
>   LD      u-boot
> powerpc-none-eabi-ld.bfd:
> /usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/libgcc.a(_lshrdi3.o):
> compiled normally and linked with modules compiled with -mrelocatable
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Well, is this not a pretty self-explanatory error message?

> Can anyone please assist me in understanding the problem? Is something
> wrong with my toolchain? (I've built it myself)

It appears your version of libgcc is not compatible.  You can either
use a known to be workign tool chain (ELDK comes to mind :-), or you
can use U-Boot's own version of the libgcc libraries by adding the
CONFIG_USE_PRIVATE_LIBGCC=y command line option.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have often regretted my speech, never my silence.


More information about the U-Boot mailing list