
On Thu, May 22, 2014 at 10:05 PM, Tom Rini trini@ti.com wrote:
On Thu, May 22, 2014 at 12:45:11PM +0300, Vasili Galka wrote:
Hi,
I'm trying to compile the "v2014.04" tag using "ppmc7xx" configuration on Ubuntu using powerpc-none-eabi toolchain. I'm running the following:
make CROSS_COMPILE=powerpc-none-eabi- O=out/ ppmc7xx_config make CROSS_COMPILE=powerpc-none-eabi- O=out/
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 powerpc-none-eabi-ld.bfd: failed to merge target specific data of file
/usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/libgcc.a(_lshrdi3.o)
powerpc-none-eabi-ld.bfd:
/usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/libgcc.a(_ashldi3.o):
compiled normally and linked with modules compiled with -mrelocatable powerpc-none-eabi-ld.bfd: failed to merge target specific data of file
/usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/libgcc.a(_ashldi3.o)
powerpc-none-eabi-ld.bfd:
/usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/libgcc.a(crtresxgpr.o):
compiled normally and linked with modules compiled with -mrelocatable powerpc-none-eabi-ld.bfd: failed to merge target specific data of file
/usr/powerpc-none-eabi/lib/gcc/powerpc-none-eabi/4.8.1/libgcc.a(crtresxgpr.o)
make[1]: *** [u-boot] Error 1 make: *** [sub-make] Error 2
Can anyone please assist me in understanding the problem? Is something wrong with my toolchain? (I've built it myself)
It's unhappy about toolchain provided libraries, so I lean yes, possible toolchain issue. How did you generate your toolchain? By hand? crosstool-ng? other?
-- Tom
By hand. I wonder what exactly is wrong with it... arm-none-eabi toolchain generated by exactly same method works fine.