[U-Boot] Can't find -lgcc
Brad Andrews
bandrews at activepower.com
Mon Nov 3 15:17:45 CET 2014
Hello,
Can someone help with the error below.
My system specs:
Fedora 3.16.6-200.fc20.i686
ELDK 5.5.2
export PATH=/home/brad/development/ELDK/powerpc/sysroots/i686-eldk-linux/usr/bin:/home/brad/development/ELDK/powerpc/sysroots/i686-eldk-linux/usr/bin/powerpc-linux:$PATH
export ARCH=powerpc
export CROSS_COMPILE=powerpc-linux-
make icecube_5200_LOWBOOT_config
make
snippet......
powerpc-linux-gcc -E -g -Os -fpic -mrelocatable -ffunction-sections -fdata-sections -meabi -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xFF000000 -I/home/brad/development/ELDK/powerpc/sysroots/powerpc-linux/usr/src/u-boot/include -I/home/brad/development/ELDK/powerpc/sysroots/powerpc-linux/usr/src/u-boot/arch/powerpc/include -fno-builtin -ffreestanding -nostdinc -isystem /home/brad/development/ELDK/powerpc/sysroots/i686-eldk-linux/usr/bin/powerpc-linux/../../lib/powerpc-linux/gcc/powerpc-linux/4.8.1/include -pipe -DCONFIG_PPC -D__powerpc__ -ffixed-r2 -DCONFIG_MPC5xxx -mstring -mcpu=603e -mmultiple -include /home/brad/development/ELDK/powerpc/sysroots/powerpc-linux/usr/src/u-boot/include/u-boot/u-boot.lds.h -DCPUDIR=arch/powerpc/cpu/mpc5xxx -ansi -D__ASSEMBLY__ -P - </home/brad/development/ELDK/powerpc/sysroots/powerpc-linux/usr/src/u-boot/arch/powerpc/cpu/mpc5xxx/u-boot.lds >u-boot.lds
cd /home/brad/development/ELDK/powerpc/sysroots/powerpc-linux/usr/src/u-boot && powerpc-linux-ld.bfd -n -T u-boot.lds --gc-sections -Bstatic -Ttext 0xFF000000 arch/powerpc/cpu/mpc5xxx/start.o --start-group arch/powerpc/cpu/built-in.o arch/powerpc/cpu/mpc5xxx/built-in.o arch/powerpc/lib/built-in.o board/icecube/built-in.o common/built-in.o disk/built-in.o drivers/built-in.o drivers/dma/built-in.o drivers/gpio/built-in.o drivers/i2c/built-in.o drivers/input/built-in.o drivers/mmc/built-in.o drivers/mtd/built-in.o drivers/mtd/onenand/built-in.o drivers/mtd/spi/built-in.o drivers/net/built-in.o drivers/net/phy/built-in.o drivers/pci/built-in.o drivers/power/battery/built-in.o drivers/power/built-in.o drivers/power/fuel_gauge/built-in.o drivers/power/mfd/built-in.o drivers/power/pmic/built-in.o drivers/serial/built-in.o drivers/spi/built-in.o drivers/usb/eth/built-in.o drivers/usb/gadget/built-in.o drivers/usb/host/built-in.o drivers/usb/musb-new/built-in.o drivers/usb/musb/built-in.o drivers/usb/phy/built-in.o drivers/usb/ulpi/built-in.o fs/built-in.o lib/built-in.o lib/libfdt/built-in.o net/built-in.o test/built-in.o --end-group -L . -lgcc -Map u-boot.map -o u-boot
powerpc-linux-ld.bfd: cannot find -lgcc
make: *** [u-boot] Error 1
---------------------------------------------------------------------------------------
This email has been scanned for email related threats and delivered safely by Mimecast.
For more information please visit http://www.mimecast.com
---------------------------------------------------------------------------------------
More information about the U-Boot
mailing list