[U-Boot] Compilation error - MPC8536DS
Felix Radensky
felix at embedded-sol.com
Sun Aug 2 21:45:42 CEST 2009
Hi,
I'm hitting the error below when compiling the latest git u-boot for
MPC8536DS target.
I'm using toolchain from Freescale BSP for this board. ld version is
2.18.50.20080215,
gcc version is 4.3.2. Any ideas how to fix this ?
UNDEF_SYM=`powerpc-none-linux-gnuspe-objdump -x
board/freescale/mpc8536ds/libmpc8536ds.a lib_generic/libgeneric.a
lib_generic/lzma/liblzma.a lib_generic/lzo/liblzo.a
board/freescale/common/libfreescale.a cpu/mpc85xx/libmpc85xx.a
lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a
fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
fs/yaffs2/libyaffs2.a fs/ubifs/libubifs.a net/libnet.a disk/libdisk.a
drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a
drivers/dma/libdma.a drivers/fpga/libfpga.a drivers/gpio/libgpio.a
drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a
drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a
drivers/mtd/nand/libnand.a drivers/mtd/onenand/libonenand.a
drivers/mtd/ubi/libubi.a drivers/mtd/spi/libspi_flash.a
drivers/net/libnet.a drivers/net/phy/libphy.a
drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.a
drivers/qe/qe.a cpu/mpc8xxx/ddr/libddr.a drivers/rtc/librtc.a
drivers/serial/libserial.a drivers/twserial/libtws.a
drivers/usb/gadget/libusb_gadget.a drivers/usb/host/libusb_host.a
drivers/usb/musb/libusb_musb.a drivers/video/libvideo.a
drivers/watchdog/libwatchdog.a common/libcommon.a libfdt/libfdt.a
api/libapi.a post/libpost.a | sed -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /home/felix/u-boot-git
&& powerpc-none-linux-gnuspe-ld -Bstatic -T
/home/felix/u-boot-git/board/freescale/mpc8536ds/u-boot.lds -n -Ttext
0xeff80000 $UNDEF_SYM cpu/mpc85xx/start.o cpu/mpc85xx/resetvec.o
--start-group lib_generic/libgeneric.a lib_generic/lzma/liblzma.a
lib_generic/lzo/liblzo.a board/freescale/common/libfreescale.a
cpu/mpc85xx/libmpc85xx.a lib_ppc/libppc.a fs/cramfs/libcramfs.a
fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a fs/yaffs2/libyaffs2.a
fs/ubifs/libubifs.a net/libnet.a disk/libdisk.a
drivers/bios_emulator/libatibiosemu.a drivers/block/libblock.a
drivers/dma/libdma.a drivers/fpga/libfpga.a drivers/gpio/libgpio.a
drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a
drivers/misc/libmisc.a drivers/mmc/libmmc.a drivers/mtd/libmtd.a
drivers/mtd/nand/libnand.a drivers/mtd/onenand/libonenand.a
drivers/mtd/ubi/libubi.a drivers/mtd/spi/libspi_flash.a
drivers/net/libnet.a drivers/net/phy/libphy.a
drivers/net/sk98lin/libsk98lin.a drivers/pci/libpci.a
drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.a
drivers/qe/qe.a cpu/mpc8xxx/ddr/libddr.a drivers/rtc/librtc.a
drivers/serial/libserial.a drivers/twserial/libtws.a
drivers/usb/gadget/libusb_gadget.a drivers/usb/host/libusb_host.a
drivers/usb/musb/libusb_musb.a drivers/video/libvideo.a
drivers/watchdog/libwatchdog.a common/libcommon.a libfdt/libfdt.a
api/libapi.a post/libpost.a board/freescale/mpc8536ds/libmpc8536ds.a
--end-group -L
/opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/lib/gcc/powerpc-none-linux-gnuspe/4.3.2
-lgcc -Map u-boot.map -o u-boot
powerpc-none-linux-gnuspe-ld: section .bootpg [effff000 -> effff1cb]
overlaps section .u_boot_cmd [efffeabc -> effff20b]
powerpc-none-linux-gnuspe-ld: u-boot: section .bootpg lma 0xeffff000
overlaps previous sections
Thanks.
Felix.
More information about the U-Boot
mailing list