
Dear Vasili,
In message CA+gZxsOZun38nNFgTGBYFMTJ7fYM_jvdOjYe8XT2B1e-=ni47w@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