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

Simon Kagstrom simon.kagstrom at netinsight.net
Mon Aug 24 13:38:29 CEST 2009


On Mon, 24 Aug 2009 12:01:54 +0200
Wolfgang Denk <wd at denx.de> 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


More information about the U-Boot mailing list