Re: [U-Boot] EABI 4.2

2010-04-19 Thread Detlev Zundel
Hi Tom, > Wolfgang Denk wrote: >> Dear Tom, >> >> In message <20100317084833.364b2...@marrow.netinsight.se> Simon Kagstrom >> wrote: >>> (Sorry if this has already been taken up, I've not been following the >>> discussion closely) >>> >>> On Thu, 11 Mar 2010 11:11:09 +0100 >>> "Martin Krause" w

Re: [U-Boot] EABI 4.2

2010-04-17 Thread Tom Rix
Wolfgang Denk wrote: > Dear Tom, > > In message <20100317084833.364b2...@marrow.netinsight.se> Simon Kagstrom > wrote: >> (Sorry if this has already been taken up, I've not been following the >> discussion closely) >> >> On Thu, 11 Mar 2010 11:11:09 +0100 >> "Martin Krause" wrote: >> > Does

Re: [U-Boot] EABI 4.2

2010-04-09 Thread Wolfgang Denk
Dear Tom, In message <20100317084833.364b2...@marrow.netinsight.se> Simon Kagstrom wrote: > (Sorry if this has already been taken up, I've not been following the > discussion closely) > > On Thu, 11 Mar 2010 11:11:09 +0100 > "Martin Krause" wrote: > > > >> Does this mean, my toolchain is broken

Re: [U-Boot] EABI 4.2

2010-03-21 Thread Wolfgang Denk
Dear Tom, In message <20100317161258.76fee...@marrow.netinsight.se> Simon Kagstrom wrote: > On Wed, 17 Mar 2010 09:53:36 -0500 > Praveen G K wrote: > > > > I had a similar problem a few months ago, which turned out to be a > > > stack alignment issue: > > > > > > =A0http://www.mail-archive.com/u

Re: [U-Boot] EABI 4.2

2010-03-17 Thread Simon Kagstrom
On Wed, 17 Mar 2010 09:53:36 -0500 Praveen G K wrote: > > I had a similar problem a few months ago, which turned out to be a > > stack alignment issue: > > > >  http://www.mail-archive.com/u-boot@lists.denx.de/msg23202.html > > > > the behavior was pretty similar, with code built with some compil

Re: [U-Boot] EABI 4.2

2010-03-17 Thread Praveen G K
On Wed, Mar 17, 2010 at 2:48 AM, Simon Kagstrom wrote: > (Sorry if this has already been taken up, I've not been following the > discussion closely) > > On Thu, 11 Mar 2010 11:11:09 +0100 > "Martin Krause" wrote: > >> >> Does this mean, my toolchain is broken? I use ELDK4.2 for ARM. >> > >> > I b

Re: [U-Boot] EABI 4.2

2010-03-17 Thread Simon Kagstrom
(Sorry if this has already been taken up, I've not been following the discussion closely) On Thu, 11 Mar 2010 11:11:09 +0100 "Martin Krause" wrote: > >> Does this mean, my toolchain is broken? I use ELDK4.2 for ARM. > > > > I belive so, how many bytes is in dirent.namelen? alloca can not > > I

Re: [U-Boot] EABI 4.2

2010-03-16 Thread Alessandro Rubini
Hello. > I have not received any updates from the gcc mailing list. Has anyone > got any more ideas on this? Thanks! Out of curiosity, I tried to reproduce the problem. I added EXT2 to my binary and recompiled with eldk-4.2. As a reminder, this is the source: if (dirent.namelen != 0) {

Re: [U-Boot] EABI 4.2

2010-03-16 Thread Praveen G K
On Fri, Mar 12, 2010 at 11:12 AM, Praveen G K wrote: > On Fri, Mar 12, 2010 at 3:04 AM, Detlev Zundel wrote: >> Hi Praveen, >> >>> So, should I send a message to the gcc mailing list explaining the issue? >> >> Yes please. >> >> Thanks! >>  Detlev > OK Have sent a message to the gcc-bugs mailing

Re: [U-Boot] EABI 4.2

2010-03-12 Thread Praveen G K
On Fri, Mar 12, 2010 at 3:04 AM, Detlev Zundel wrote: > Hi Praveen, > >> So, should I send a message to the gcc mailing list explaining the issue? > > Yes please. > > Thanks! >  Detlev OK Have sent a message to the gcc-bugs mailing list. I hope this is the right one. http://gcc.gnu.org/ml/gcc-bug

Re: [U-Boot] EABI 4.2

2010-03-12 Thread Detlev Zundel
Hi Praveen, > So, should I send a message to the gcc mailing list explaining the issue? Yes please. Thanks! Detlev -- #define KSAMTIB_CIGAM_2SFFJ 0x8519 /* For detecting wrong-endian fs */ -- include/linux/jffs2.h -- DENX Software Engineering GmbH, MD: Wolf

Re: [U-Boot] EABI 4.2

2010-03-11 Thread Praveen G K
On Thu, Mar 11, 2010 at 4:11 AM, Martin Krause wrote: > Joakim Tjernlund wrote on Wednesday, March 10, 2010 6:29 PM: >> "Martin Krause" wrote on 2010/03/10 17:52:40: >>> >>> Hi Jocke, >>> >>> Joakim Tjernlund wrote on Wednesday, March 10, 2010 5:36 PM: > Andrew Dyer wrote on Wednesday, March

Re: [U-Boot] EABI 4.2

2010-03-11 Thread Martin Krause
Joakim Tjernlund wrote on Wednesday, March 10, 2010 6:29 PM: > "Martin Krause" wrote on 2010/03/10 17:52:40: >> >> Hi Jocke, >> >> Joakim Tjernlund wrote on Wednesday, March 10, 2010 5:36 PM: Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: [SNIP] Hm, on the wikipedia arti

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Joakim Tjernlund
"Martin Krause" wrote on 2010/03/10 17:52:40: > > Hi Jocke, > > Joakim Tjernlund wrote on Wednesday, March 10, 2010 5:36 PM: > >> Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: [SNIP] > >> > >> Hm, on the wikipedia article for the 'variable length arrays' (VLA) I > >> read, that the GNU

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Jocke, Joakim Tjernlund wrote on Wednesday, March 10, 2010 5:36 PM: >> Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: [SNIP] >> >> Hm, on the wikipedia article for the 'variable length arrays' (VLA) I >> read, that the GNU C compiler always uses the stack for this type of >> variables

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Joakim Tjernlund
> > Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: [SNIP] > > Hm, on the wikipedia article for the 'variable length arrays' (VLA) I > read, that the GNU C compiler always uses the stack for this type of > variables. So I think, if the stack is working for all other local > variables, it sh

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Detlev, Detlev Zundel wrote on Wednesday, March 10, 2010 4:44 PM: > Hi Martin, > >> The solution would be to find the real reason and to fix it. >> I spend some time exploring the assembler code generated for both >> variants (with fixed length array and variable length array). But >> it turne

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: > On Wed, Mar 10, 2010 at 5:09 AM, Martin Krause > wrote: >> Hi Praveen, >> >> u-boot-boun...@lists.denx.de wrote on Tuesday, March 09, 2010 8:35 >> PM: >>> Hello, >>> >>>  I am using the ARM11 platform, and I notice that when I build the

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Detlev Zundel
Hi Martin, > The solution would be to find the real reason and to fix it. > I spend some time exploring the assembler code generated for both > variants (with fixed length array and variable length array). But > it turned out, that my ARM assembler knowledge is to bad to find > the place where it

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Wolfgang Denk
Dear Praveen G K, In message you wrote: > > So, what is the solution to get this problem fixed? Is the filename to > be replaced > with a fixed length array? The suggested changes are not a solution, they might be used as a workaround at best. If a tool is broken, you go and fix the tool, not

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Praveen, Praveen G K wrote on Wednesday, March 10, 2010 3:45 PM: > On Wed, Mar 10, 2010 at 5:09 AM, Martin Krause >>>  I am using the ARM11 platform, and I notice that when I build the >>> uboot code, the -mabi option is set to aapcs-linux and >>> thumb-network.  With this change, I have probl

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Praveen G K
On Wed, Mar 10, 2010 at 5:09 AM, Martin Krause wrote: > Hi Praveen, > > u-boot-boun...@lists.denx.de wrote on Tuesday, March 09, 2010 8:35 PM: >> Hello, >> >>  I am using the ARM11 platform, and I notice that when I build the >> uboot code, the >> -mabi option is set to aapcs-linux and thumb-netwo

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Praveen, u-boot-boun...@lists.denx.de wrote on Tuesday, March 09, 2010 8:35 PM: > Hello, > >  I am using the ARM11 platform, and I notice that when I build the > uboot code, the > -mabi option is set to aapcs-linux and thumb-network.  With this > change, I have problems in getting the ext2ls f

[U-Boot] EABI 4.2

2010-03-09 Thread Praveen G K
Hello,  I am using the ARM11 platform, and I notice that when I build the uboot code, the -mabi option is set to aapcs-linux and thumb-network.  With this change, I have problems in getting the ext2ls function to work.  I was able to narrow down the problem, and in the ext2fs_iterate_dir function,