[#6274] fail to build trunk head uboot in SPI boot mode by 2010R1-RC3 full uClibc toolchain

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

[#6274] fail to build trunk head uboot in SPI boot mode by 2010R1-RC3 full uClibc toolchain

Submitted By: Sonic Zhang

Open Date

2010-09-26 00:16:13     Close Date

2010-09-26 06:35:35

Priority:

Medium High     Assignee:

Mike Frysinger

Category:

N/A     Fixed In Release:

N/A

Found In Release:

N/A     Status:

Closed

Board:

N/A     Processor:

BF533

Silicon Revision:

    Resolution:

Rejected

Is the bug repeatable?:

N/A     

Summary: fail to build trunk head uboot in SPI boot mode by 2010R1-RC3 full uClibc toolchain

Details:

 

This happens on at least bf533-stamp and bf518f-ezbrd. I guess it is arch independent.

 

 

make -C arch/blackfin/lib/ u-boot.lds.S

make[1]: Entering directory `/root/projects/uboot/trunk/arch/blackfin/lib'

make[1]: Nothing to be done for `u-boot.lds.S'.

make[1]: Leaving directory `/root/projects/uboot/trunk/arch/blackfin/lib'

bfin-uclinux-gcc -E -g  -Os   -ffixed-P3 -fomit-frame-pointer -mno-fdpic -ffunction-sections -fdata-sections -mcpu=bf533-0.3 -D__KERNEL__ -I/root/projects/uboot/trunk/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/uclinux/out-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5/include -pipe  -DCONFIG_BLACKFIN -include /root/projects/uboot/trunk/include/u-boot/u-boot.lds.h -DLD_MAJOR=2 -DLD_MINOR=17 -ansi -D__ASSEMBLY__ -P - <arch/blackfin/lib/u-boot.lds.S >u-boot.lds

UNDEF_SYM=`bfin-uclinux-objdump -x board/bf533-stamp/libbf533-stamp.a lib/libgeneric.a lib/lzma/liblzma.a lib/lzo/liblzo.a arch/blackfin/cpu/libblackfin.a arch/blackfin/lib/libblackfin.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/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.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/usb/phy/libusb_phy.a drivers/video/libvideo.a drivers/watchdog/libwatchdog.a common/libcommon.a lib/libfdt/libfdt.a api/libapi.a post/libpost.a | sed  -n -e 's/.*\(___u_boot_cmd_.*\)/-u\1/p'|sort|uniq`; cd /root/projects/uboot/trunk && bfin-uclinux-ld --gc-sections -m elf32bfin -Bstatic -T u-boot.lds  $UNDEF_SYM arch/blackfin/cpu/start.o --start-group lib/libgeneric.a lib/lzma/liblzma.a lib/lzo/liblzo.a arch/blackfin/cpu/libblackfin.a arch/blackfin/lib/libblackfin.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/pci/libpci.a drivers/pcmcia/libpcmcia.a drivers/power/libpower.a drivers/spi/libspi.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/usb/phy/libusb_phy.a drivers/video/libvideo.a drivers/watchdog/libwatchdog.a common/libcommon.a lib/libfdt/libfdt.a api/libapi.a post/libpost.a board/bf533-stamp/libbf533-stamp.a --end-group -L /opt/uclinux/out-uclinux/bin/../lib/gcc/bfin-uclinux/4.3.5 -lgcc -Map u-boot.map -o u-boot

/opt/uclinux/out-uclinux/bin/../bfin-uclinux/bin/ld.real:u-boot.lds:1: ignoring invalid character `#' in expression

/opt/uclinux/out-uclinux/bin/../bfin-uclinux/bin/ld.real:u-boot.lds:1: syntax error

make: *** [u-boot] Error 1

 

Follow-ups

 

--- Mike Frysinger                                           2010-09-26 01:08:13

most likely you made a typo in your config.  post the u-boot.lds in question as

an attachment so i can check.

 

--- Vivi Li                                                  2010-09-26 03:13:03

I don't see this bug on my machine.

 

--- Sonic Zhang                                              2010-09-26 06:35:35

OK. Not a bug. "//" are not valid remark symbol in link script file,

although it is actually defined in config.h and included by u-boot.lds.S.

 

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes