[U-Boot-Users] [1.3.2-rc1] MPC8548CDS/MPC8555CDS configs fails to link
Marcel Moolenaar
marcelm at juniper.net
Fri Feb 15 23:15:02 CET 2008
All,
I've just pulled the 1.3.2-rc1 snapshot from GIT and I run
into a link failure right out of the box (ok, after changing
the Makefile to the right cross-compiler :-)
Build machine: FreeBSD-6.1
apg-bbuild09% gmake distclean
find: -lname: unknown option
find: -lname: unknown option
find: -lname: unknown option
apg-bbuild09% gmake MPC8548CDS_config
Configuring for MPC8548CDS board...
apg-bbuild09% gmake
for dir in tools examples api_examples ; do gmake -C $dir _depend ; done
gmake[1]: Entering directory `/.amd/uranus1/vol/homes/homes1/marcelm/U-
Boot/u-boot-1.3.2/tools'
...
gmake[1]: Entering directory `/.amd/uranus1/vol/homes/homes1/marcelm/U-
Boot/u-boot-1.3.2/api'
/volume/fwtools/gnusense/340_2004a-magnesium.1/bin/powerpc-juniper-
eabi-ar crv libapi.a
gmake[1]: Leaving directory `/.amd/uranus1/vol/homes/homes1/marcelm/U-
Boot/u-boot-1.3.2/api'
UNDEF_SYM=`/volume/fwtools/gnusense/340_2004a-magnesium.1/bin/powerpc-
juniper-eabi-objdump -x lib_generic/libgeneric.a board/freescale/
common/libfreescale.a board/freescale/mpc8548cds/libmpc8548cds.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 net/libnet.a disk/libdisk.a drivers/
bios_emulator/libatibiosemu.a drivers/block/libblock.a drivers/dma/
libdma.a drivers/hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/
libinput.a drivers/misc/libmisc.a drivers/mtd/libmtd.a drivers/mtd/
nand/libnand.a drivers/mtd/nand_legacy/libnand_legacy.a drivers/mtd/
onenand/libonenand.a drivers/net/libnet.a drivers/net/sk98lin/
libsk98lin.a drivers/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/
spi/libspi.a drivers/qe/qe.a drivers/rtc/librtc.a drivers/serial/
libserial.a drivers/usb/libusb.a drivers/video/libvideo.a post/
libpost.a post/drivers/libpostdrivers.a post/lib_ppc/libpostppc.a post/
lib_ppc/fpu/libpostppcfpu.a common/libcommon.a libfdt/libfdt.a api/
libapi.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
cd /.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2 && /
volume/fwtools/gnusense/340_2004a-magnesium.1/bin/powerpc-juniper-eabi-
ld -Bstatic -T /.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-
boot-1.3.2/board/freescale/mpc8548cds/u-boot.lds -n -Ttext 0xfff80000
$UNDEF_SYM cpu/mpc85xx/start.o cpu/mpc85xx/resetvec.o \
--start-group lib_generic/libgeneric.a board/freescale/common/
libfreescale.a board/freescale/mpc8548cds/libmpc8548cds.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 net/libnet.a disk/libdisk.a drivers/bios_emulator/
libatibiosemu.a drivers/block/libblock.a drivers/dma/libdma.a drivers/
hwmon/libhwmon.a drivers/i2c/libi2c.a drivers/input/libinput.a drivers/
misc/libmisc.a drivers/mtd/libmtd.a drivers/mtd/nand/libnand.a drivers/
mtd/nand_legacy/libnand_legacy.a drivers/mtd/onenand/libonenand.a
drivers/net/libnet.a drivers/net/sk98lin/libsk98lin.a drivers/pci/
libpci.a drivers/pcmcia/libpcmcia.a drivers/spi/libspi.a drivers/qe/
qe.a drivers/rtc/librtc.a drivers/serial/libserial.a drivers/usb/
libusb.a drivers/video/libvideo.a post/libpost.a post/drivers/
libpostdrivers.a post/lib_ppc/libpostppc.a post/lib_ppc/fpu/
libpostppcfpu.a common/libcommon.a libfdt/libfdt.a api/libapi.a --end-
group -L /.amd/svl-eng001-cf2/vol/tools/bt/fwtools-fbsd6.1-x86/
gnusense/340_2004a-magnesium.1/bin/../lib/gcc/powerpc-juniper-eabi/
3.4.0/nof -lgcc \
-Map u-boot.map -o u-boot
/volume/fwtools/gnusense/340_2004a-magnesium.1/bin/powerpc-juniper-
eabi-ld: skipping incompatible /usr/lib/libgcc.a when searching for -
lgcc
cpu/mpc85xx/cpu_init.o(.text+0xa4): In function `cpu_init_early_f':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/cpu/mpc85xx/
cpu_init.c:150: undefined reference to `init_laws'
cpu/mpc85xx/cpu_init.o(.text+0x1ac): In function `cpu_init_r':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/cpu/mpc85xx/
cpu_init.c:258: undefined reference to `disable_law'
common/libcommon.a(cmd_bootm.o)(.text+0x950): In function
`do_bootm_linux':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/common/
cmd_bootm.c:748: undefined reference to `fdt_check_header'
common/libcommon.a(cmd_bootm.o)(.text+0xacc):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/cmd_bootm.c:799: undefined
reference to `fdt_check_header'
common/libcommon.a(cmd_bootm.o)(.text+0xbc4):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/cmd_bootm.c:849: undefined
reference to `fdt_check_header'
common/libcommon.a(cmd_bootm.o)(.text+0xcfc):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/cmd_bootm.c:965: undefined
reference to `fdt_open_into'
common/libcommon.a(cmd_bootm.o)(.text+0xd44):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/cmd_bootm.c:978: undefined
reference to `fdt_chosen'
common/libcommon.a(cmd_bootm.o)(.text+0x153c): In function `do_bootm':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/common/
cmd_bootm.c:1622: undefined reference to `do_bootvx'
common/libcommon.a(cmd_bootm.o)(.text+0x1578):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/cmd_bootm.c:1636: undefined
reference to `do_bootelf'
common/libcommon.a(env_flash.o)(.text+0x118): In function `saveenv':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/common/
env_flash.c:312: undefined reference to `flash_sect_protect'
common/libcommon.a(env_flash.o)(.text+0x138):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/env_flash.c:316: undefined
reference to `flash_sect_erase'
common/libcommon.a(env_flash.o)(.text+0x188):/.amd/uranus1/vol/homes/
homes1/marcelm/U-Boot/u-boot-1.3.2/common/env_flash.c:329: undefined
reference to `flash_sect_protect'
board/freescale/mpc8548cds/libmpc8548cds.a(mpc8548cds.o)(.text+0x798):
In function `ft_pci_setup':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/board/
freescale/mpc8548cds/mpc8548cds.c:528: undefined reference to
`fdt_path_offset'
board/freescale/mpc8548cds/libmpc8548cds.a(mpc8548cds.o)(.text
+0x7bc):/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/
board/freescale/mpc8548cds/mpc8548cds.c:532: undefined reference to
`fdt_getprop'
board/freescale/mpc8548cds/libmpc8548cds.a(mpc8548cds.o)(.text
+0x7f0):/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/
board/freescale/mpc8548cds/mpc8548cds.c:535: undefined reference to
`do_fixup_by_path'
board/freescale/mpc8548cds/libmpc8548cds.a(mpc8548cds.o)(.text
+0x804):/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/
board/freescale/mpc8548cds/mpc8548cds.c:539: undefined reference to
`fdt_getprop'
board/freescale/mpc8548cds/libmpc8548cds.a(mpc8548cds.o)(.text
+0x838):/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/
board/freescale/mpc8548cds/mpc8548cds.c:542: undefined reference to
`do_fixup_by_path'
board/freescale/mpc8548cds/libmpc8548cds.a(ft_board.o)(.text+0x2c): In
function `ft_board_setup':
../common/ft_board.c:66: undefined reference to `ft_cpu_setup'
board/freescale/mpc8548cds/libmpc8548cds.a(ft_board.o)(.text+0x44):../
common/ft_board.c:36: undefined reference to `fdt_path_offset'
board/freescale/mpc8548cds/libmpc8548cds.a(ft_board.o)(.text+0x5c):../
common/ft_board.c:39: undefined reference to `fdt_getprop'
board/freescale/mpc8548cds/libmpc8548cds.a(ft_board.o)(.text+0x70):../
common/ft_board.c:41: undefined reference to `fdt_path_offset'
board/freescale/mpc8548cds/libmpc8548cds.a(ft_board.o)(.text+0x88): In
function `ft_board_setup':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/include/
libfdt.h:408: undefined reference to `fdt_getprop'
cpu/mpc85xx/libmpc85xx.a(spd_sdram.o)(.text+0x304): In function
`setup_laws_and_tlbs':
/.amd/uranus1/vol/homes/homes1/marcelm/U-Boot/u-boot-1.3.2/cpu/mpc85xx/
spd_sdram.c:1093: undefined reference to `set_law'
gmake: *** [u-boot] Error 1
Is this a known issue and is someone looking into this?
Thanks,
PS1: This is a regression WRT 1.3.1, where only flash_sect_erase
and flash_sect_protect were undefined.
PS2: The MPC8555CDS config is broken in the same way.
--
Marcel Moolenaar
marcelm at juniper.net
More information about the U-Boot
mailing list