[U-Boot] U-boot failed to link
He Yunlong-B20256
B20256 at freescale.com
Tue Jan 26 08:13:24 CET 2010
Hi, Experts,
After upgrading toolchain to gcc-4.4.1 and binutils-2.19.51, we
failed to re-build u-boot for powerpc, but it can be built by gcc-4.3.2
and binutils-2.18, Could you help to give some suggestions?
make[1]: Leaving directory
`/home/harryhe/ltib/toolchain/ltib-p2020ds-20091119/rpm/BUILD/u-boot-200
9.08/board/freescale/p2020ds'
UNDEF_SYM=`powerpc-linux-gnu-objdump -x
board/freescale/p2020ds/libp2020ds.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 cpu/mpc8xxx/lib8xxx.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/harryhe/ltib/toolchain/ltib-p2020ds-20091119/rpm/BUILD/u-boot-2009
.08 && powerpc-linux-gnu-ld -Bstatic -T 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 cpu/mpc8xxx/lib8xxx.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/p2020ds/libp2020ds.a --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,effff1cb]
overlaps section .data.rel loaded at [efffea5c,effffbff]
powerpc-linux-gnu-ld: section .resetvec loaded at [effffffc,efffffff]
overlaps section .data.rel.local loaded at [effffc00,f0000f53]
powerpc-linux-gnu-ld: u-boot: section .bootpg vma 0xeffff000 overlaps
previous sections
powerpc-linux-gnu-ld: u-boot: section .data.rel.local vma 0xeffffc00
overlaps previous sections
powerpc-linux-gnu-ld: u-boot: section .resetvec vma 0xeffffffc overlaps
previous sections
powerpc-linux-gnu-ld: u-boot: section .data.rel.ro vma 0xf0000f54
overlaps previous sections
powerpc-linux-gnu-ld: u-boot: section .u_boot_cmd vma 0xf000102c
overlaps previous sections
make: *** [u-boot] Error 1
error: Bad exit status from
/home/harryhe/ltib/toolchain/ltib-p2020ds-20091119/tmp/rpm-tmp.70485
(%build)
B.R.
Harry
More information about the U-Boot
mailing list