[U-Boot] U-Boot build report @ Sat Mar 31 05:30:15 CEST 2012

Marek Vasut
2012-04-02T16:10:18Z

Dear Tom Rini,

> On Sat, Mar 31, 2012 at 02:59:06PM +0200, Marek Vasut wrote:
> > Hello guys,
> >
> > we now have exactly these boards not building for -RC1, can you please
> > look into
>
> > it?:
> [snip]
>
> > arm/hawkboard FAILED FOR: eldk4.2
> > arm/hawkboard_uart FAILED FOR: eldk4.2
>
> SPL link failure. Newer toolchains give us a built-in udelay, and we
> provide __udelay but not udelay on these boards since we don't use
> CONFIG_SPL_LIBGENERIC_SUPPORT and adding that in might be a fatal size
> bloat. Not sure what we want to do about this, and the last thread or
> two about this was unresolved.

But we have --gc-sections and stuff like that so unneeded bloat should be
removed.

And it's not only this, I see also problem with lldiv.

Configuring for hawkboard board...
arch/arm/cpu/arm926ejs/davinci/libdavinci.o: In function `lldiv':
/workspace/compiler/eldk4.2/device/arm___hawkboard/include/div64.h:45: undefined
reference to `__div64_32'
drivers/mtd/nand/libnand.o: In function `nand_command':
/workspace/compiler/eldk4.2/device/arm___hawkboard/drivers/mtd/nand/nand_base.c:591:
undefined reference to `udelay'
/workspace/compiler/eldk4.2/device/arm___hawkboard/drivers/mtd/nand/nand_base.c:607:
undefined reference to `udelay'
/workspace/compiler/eldk4.2/device/arm___hawkboard/drivers/mtd/nand/nand_base.c:613:
undefined reference to `udelay'
make[1]: *** [/workspace/compiler/eldk4.2/device/arm___hawkboard/spl/u-boot-spl]
Error 1
make: *** [spl/u-boot-spl.bin] Error 2
text data bss dec hex filename
191820 6388 54764 252972 3dc2c ./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with warnings or errors: 1 ( hawkboard )
----------------------------------------------------------

Best regards,
Marek Vasut