[U-Boot] Issues building for the P2020 (linking)

Stafford, Matthew Matthew.Stafford at viasat.com
Thu Jun 2 20:58:15 CEST 2011


Hi,

I'm currently trying to build out of git and am seeing an issue with the
final linking during the build.  I've included the relevant dump:

Using P2020DS_config

UNDEF_SYM=`powerpc-linux-gnu-objdump -x
board/freescale/p2020ds/libp2020ds.o api/libapi.o
arch/powerpc/cpu/mpc85xx/libmpc85xx.o
arch/powerpc/cpu/mpc8xxx/ddr/libddr.o arch/powerpc/cpu/mpc8xxx/lib8xxx.o
arch/powerpc/lib/libpowerpc.o board/freescale/common/libfreescale.o
common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o
drivers/block/libblock.o drivers/dma/libdma.o drivers/fpga/libfpga.o
drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o
drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o
drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o
drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o
drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o
drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o
drivers/qe/libqe.o drivers/rtc/librtc.o drivers/serial/libserial.o
drivers/spi/libspi.o drivers/twserial/libtws.o
drivers/usb/eth/libusb_eth.a drivers/usb/gadget/libusb_gadget.o
drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o
drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o
drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o
fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o
fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o
lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o
lib/zlib/libz.o net/libnet.o post/libpost.o | sed  -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd
/home/mstafford/sandbox/u-boot && powerpc-linux-gnu-ld  -n -T u-boot.lds
--gc-sections -Bstatic -Ttext 0xeff80000 $UNDEF_SYM
arch/powerpc/cpu/mpc85xx/start.o arch/powerpc/cpu/mpc85xx/resetvec.o
--start-group api/libapi.o arch/powerpc/cpu/mpc85xx/libmpc85xx.o
arch/powerpc/cpu/mpc8xxx/ddr/libddr.o arch/powerpc/cpu/mpc8xxx/lib8xxx.o
arch/powerpc/lib/libpowerpc.o board/freescale/common/libfreescale.o
common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o
drivers/block/libblock.o drivers/dma/libdma.o drivers/fpga/libfpga.o
drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o
drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o
drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o
drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o
drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o
drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o
drivers/qe/libqe.o drivers/rtc/librtc.o drivers/serial/libserial.o
drivers/spi/libspi.o drivers/twserial/libtws.o
drivers/usb/eth/libusb_eth.a drivers/usb/gadget/libusb_gadget.o
drivers/usb/host/libusb_host.o drivers/usb/musb/libusb_musb.o
drivers/usb/phy/libusb_phy.o drivers/video/libvideo.o
drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext2/libext2fs.o
fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o
fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o
lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o
lib/zlib/libz.o net/libnet.o post/libpost.o
board/freescale/p2020ds/libp2020ds.o --end-group -L
/opt/freescale/usr/local/gcc-4.4.78-eglibc-2.10.78/powerpc-linux-gnu/lib
/gcc/powerpc-linux-gnu/4.4.1/nof -lgcc -Map u-boot.map -o u-boot
powerpc-linux-gnu-ld: section .bootpg loaded at [effff000,effff237]
overlaps section .data loaded at [efffc16c,f000347b]
powerpc-linux-gnu-ld: u-boot: section .bootpg vma 0xeffff000 overlaps
previous sections
powerpc-linux-gnu-ld: u-boot: section .resetvec vma 0xeffffffc overlaps
previous sections
powerpc-linux-gnu-ld: u-boot: section .u_boot_cmd vma 0xf000347c
overlaps previous sections
make: *** [u-boot] Error 1

Any thoughts?

Regards,
Matthew


More information about the U-Boot mailing list