[U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support

Simon Kagstrom simon.kagstrom at netinsight.net
Mon Aug 24 14:49:14 CEST 2009


On Mon, 24 Aug 2009 14:01:20 +0200
Wolfgang Denk <wd at denx.de> wrote:

> Please re-run the tests with
> 
> 	$ USE_PRIVATE_LIBGCC=yes
> 	$ export USE_PRIVATE_LIBGCC
> 	$ make mrproper
> 	$ make ..._config
> 	$ make all
> 
> and with
> 
> 	$ unset USE_PRIVATE_LIBGCC
> 	$ make mrproper
> 	$ make ..._config
> 	$ make all

Same result both ways.

> > I'll send an updated version of the patch, but it can't go in until
> > mach-types.h has been updated at least. It's very similar to sheevaplug
> > though, but uses 64-bit vsnprintf since it needs UBIFS support. I guess
> > the nand_bbt problem is a similar issue.
> 
> Again, guesses are simply not good enough to spend any efforts. We
> need clear, reliable facts.

Well, since I can't say what's causing the problem, it's a guess.

The hard facts are that the printf issue goes away if I compile without
CONFIG_SYS_64BIT_VSPRINTF, but the nand_bbt problem is always there.
I've tried looking at the disassembled source code, in particular of
the number() function and the calls of it in vsprintf.c, but I can't
easily spot where it goes wrong.

// Simon


More information about the U-Boot mailing list