From: Simon Kagstrom Date: Mon, 24 Aug 2009 14:49:14 +0200 Subject: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support In-Reply-To: <20090824120120.99ECB833DBD2@gemini.denx.de> References: <1250507849-31660-1-git-send-email-wd@denx.de> <20090821211245.50EC3833DBD2@gemini.denx.de> <20090824105935.038bd229@marrow.netinsight.se> <20090824100154.2E9AB833DBD2@gemini.denx.de> <20090824133829.6657fd66@marrow.netinsight.se> <20090824120120.99ECB833DBD2@gemini.denx.de> Message-ID: <20090824144914.5ab6c010@marrow.netinsight.se> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 24 Aug 2009 14:01:20 +0200 Wolfgang Denk 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