From: Simon Kagstrom Date: Mon, 24 Aug 2009 13:38:29 +0200 Subject: [U-Boot] [PATCH] ARM: compiler options cleanup - improve tool chain support In-Reply-To: <20090824100154.2E9AB833DBD2@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> Message-ID: <20090824133829.6657fd66@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 12:01:54 +0200 Wolfgang Denk wrote: > > I updated my git tree today and got this patch (among other things). It > > does not work very well for me, unfortunately. I've tried three > > toolchains (4.3.3, 4.3.4, 4.4.1) built with crosstool-ng, and all of > > them build an image which doesn't run correct. > > Hm... aren't there known issues with these compiler versions on ARM? I don't know, not that I've heard of at least, but perhaps someone else knows of something? > > It appears to be 64-bit issue: > > > > U-Boot 2009.08-rc3-00014-gcea1f2a (Aug 24 2009 - 10:31:57) > > Marvell-OpenRD_base > > > > SoC: Kirkwood 88F6281_A0 > > DRAM: 27507994220560384 MB > > NAND: 27510416582115328 MiB > > Is this with or without USE_PRIVATE_LIBGCC=yes ? Yes, I believe so. If compiling with USE_PRIVATE_LIBGCC=no, the linker can't find libgcc. > Do you see any compiler warnings? No. > And - which board / configuration name is this? Sorry. As Prafulla said, it's openrd_base. I sent patches from this some time back, http://lists.denx.de/pipermail/u-boot/2009-July/055374.html 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. // Simon