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

2009-09-07 Thread Simon Kagstrom
On Mon, 7 Sep 2009 01:59:13 -0700 Prafulla Wadaskar wrote: > > Well, I sent a patch "[PATCH, RFC] Make arm926ejs use -march=armv5t to > > avoid problems with EABI", which corrects this for me, although I'd > > like some input on if it really makes any sense. > > I have tested this with Sheevaplug,

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

2009-09-07 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Kagstrom [mailto:simon.kagst...@netinsight.net] > Sent: Monday, September 07, 2009 11:54 AM > To: Wolfgang Denk > Cc: u-boot@lists.denx.de; Prafulla Wadaskar; Jean-Christophe > PLAGNIOL-VILLARD > Subject: Re: [U-Boot] [PATCH]

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

2009-09-06 Thread Simon Kagstrom
On Fri, 04 Sep 2009 22:05:45 +0200 Wolfgang Denk wrote: > > nand_bbt: Can't scan flash and build the RAM-based BBT > > Net: egiga0 > > 88E1116 Initialized on egiga0 > > Hit any key to stop autoboot: 0 > > Marvell>> > > > > The 4.1 version just hangs on the NAND printout. I've test

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

2009-09-04 Thread Wolfgang Denk
Dear Simon Kagstrom, In message <20090825091256.0fc00...@marrow.netinsight.se> you wrote: > > Small update: I've tried with the ELDK toolchains 4.1 and 4.2 > (2007-01-21 and 2008-11-24). Both these fail as well, albeit in a > slightly different way. The printfs are correct, but 4.2 still has the >

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

2009-08-25 Thread Simon Kagstrom
On Mon, 24 Aug 2009 12:01:54 +0200 Wolfgang Denk wrote: > Dear Simon Kagstrom, > > In message <20090824105935.038bd...@marrow.netinsight.se> you 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 t

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

2009-08-24 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <73173d32e9439e4abb5151606c3e19e202e3915...@sc-vexch1.marvell.com> you wrote: > > I get following erro only if I execute following build command > make mrproper; make sheevaplug_config; make USE_PRIVATE_LIBGCC=no > CROSS_COMPILE=armv5tel-redhat-linux-gnueabi- 2

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

2009-08-24 Thread Simon Kagstrom
On Mon, 24 Aug 2009 05:41:59 -0700 Prafulla Wadaskar wrote: > I get following erro only if I execute following build command > make mrproper; make sheevaplug_config; make USE_PRIVATE_LIBGCC=no > CROSS_COMPILE=armv5tel-redhat-linux-gnueabi- 2> warn.txt > > And cat warn.txt > armv5tel-redhat-linu

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

2009-08-24 Thread Simon Kagstrom
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 mr

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

2009-08-24 Thread Prafulla Wadaskar
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Monday, August 24, 2009 5:27 PM > To: Prafulla Wadaskar > Cc: Simon Kagstrom; u-boot@lists.denx.de; Ashish Karkare; > Prabhanjan Sarnaik > Subject: Re: [U-Boot] [PATCH] ARM: compiler options

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

2009-08-24 Thread Wolfgang Denk
Dear Simon Kagstrom, In message <20090824133829.6657f...@marrow.netinsight.se> you wrote: > > > 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. Arghh.. How am I supposed to help when all you can say

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

2009-08-24 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message <73173d32e9439e4abb5151606c3e19e202e3915...@sc-vexch1.marvell.com> you wrote: > > > Hm... aren't there known issues with these compiler versions on ARM? > I don't think so, I observed same behavior with sheevaplug, Which tool chain are you using? Do you see di

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

2009-08-24 Thread Simon Kagstrom
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

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

2009-08-24 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk > Sent: Monday, August 24, 2009 3:32 PM > To: Simon Kagstrom > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] ARM: com

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

2009-08-24 Thread Wolfgang Denk
Dear Simon Kagstrom, In message <20090824105935.038bd...@marrow.netinsight.se> you 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 a

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

2009-08-24 Thread Simon Kagstrom
Hi, On Fri, 21 Aug 2009 23:12:45 +0200 Wolfgang Denk wrote: > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to add and su

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

2009-08-21 Thread Wolfgang Denk
In message <1250507849-31660-1-git-send-email...@denx.de> I wrote: > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to add a

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

2009-08-20 Thread Andrzej Wolski
> Results: > I was unable to compile without the patch in this thread > http://lists.denx.de/pipermail/u-boot/2009-August/058193.html (which is > normal because of gcc-4.4.1). > With 'MAKEALL arm' I have no compile errors except for: > * actux1, actux2, actux3, actux4, ixdp425, ixdpg425, pdnb3, whi

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

2009-08-18 Thread Wolfgang Denk
Dear Tom, In message <4a8af7d9.7070...@windriver.com> you wrote: > > MAKEALL arm with CodeSourcery's > arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu > arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu > > and this patch differ from > > USE_PRIVATE_LIBGCC=yes ./MAKEALL arm > > onl

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

2009-08-18 Thread Wolfgang Denk
Dear Magnus Lilja, In message <59b21cf20908181008t75a981d8g512c10687c0b8...@mail.gmail.com> you wrote: > > Tested-by: Magnus Lilja > > > Run-time tested on i.MX31 PDK board using the above toolchains. Thanks a lot! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wo

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

2009-08-18 Thread Tom
Wolfgang Denk wrote: > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to add and support a private implementation > of such r

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

2009-08-18 Thread Magnus Lilja
Wolfgang, 2009/8/17 Wolfgang Denk : > Dear Magnus Lilja, > > In message <59b21cf20908171317s10d7fdb5t631c37f06707e...@mail.gmail.com> you > wrote: >> >> >   This way we use a similar logic for the compile options as the >> >   Linux kenrel does. >> >> "kenrel" => "kernel" :-) > > Thanks, will try

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

2009-08-18 Thread Gaye Abdoulaye Walsimou
Wolfgang Denk wrote: > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to add and support a private implementation > of such r

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

2009-08-18 Thread Wolfgang Denk
Dear Gaye Abdoulaye Walsimou, In message <4a8a8b27.7080...@walsimou.com> you wrote: > > I tested your patch against 7dedefdf749ff02c1086f7ddb8cb83a77b00d030 Thanks for testing! > Results: > I was unable to compile without the patch in this thread > http://lists.denx.de/pipermail/u-boot/2009-Aug

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

2009-08-18 Thread Gaye Abdoulaye Walsimou
Dear Wolfgang Denk, I tested your patch against 7dedefdf749ff02c1086f7ddb8cb83a77b00d030 (latest revision at the moment of writing of u-boot.git). My toolchain is a home-made toolchain and contains gcc-4.4.1, binutils-2.19.1, eglibc-2.10.1, kernel headers 2.6.30.4, configured to generate binaries f

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

2009-08-17 Thread Wolfgang Denk
Dear Magnus Lilja, In message <59b21cf20908171317s10d7fdb5t631c37f06707e...@mail.gmail.com> you wrote: > > > This way we use a similar logic for the compile options as the > > Linux kenrel does. > > "kenrel" => "kernel" :-) Thanks, will try to remember to edit the commit message. > I've don

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

2009-08-17 Thread Magnus Lilja
Hi Wolfgang, 2009/8/17 Wolfgang Denk : > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains.  Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to add and support a private impleme

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

2009-08-17 Thread ksi
On Mon, 17 Aug 2009, Wolfgang Denk wrote: Ack-by: Sergey Kubushyn --- > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to

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

2009-08-17 Thread Dirk Behme
Tom wrote: > I am testing this on the toolchain I usually use. The Code Sourcery > arm-2008q3 > http://www.codesourcery.com/sgpp/lite/arm > > I see they have a 2009 version. I will download that and test that as > well. Yes, using recent 2009q1-203 is the recommended one. 2008q3 is known to h

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

2009-08-17 Thread Wolfgang Denk
Dear Tom, In message <4a895462.1020...@windriver.com> you wrote: > > I am testing this on the toolchain I usually use. > The Code Sourcery arm-2008q3 > http://www.codesourcery.com/sgpp/lite/arm > > I see they have a 2009 version. I will download that and test that as well. Thanks. > Be aware

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

2009-08-17 Thread Tom
Wolfgang Denk wrote: > For some time there have been repeated reports about build problems > with some ARM (cross) tool chains. Especially issues about > (in)compatibility with the tool chain provided runtime support > library libgcc.a caused to add and support a private implementation > of such r

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

2009-08-17 Thread Wolfgang Denk
For some time there have been repeated reports about build problems with some ARM (cross) tool chains. Especially issues about (in)compatibility with the tool chain provided runtime support library libgcc.a caused to add and support a private implementation of such runtime support code in U-Boot.