(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" <martin.kra...@tqs.de> 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 compiled the original code with VLA with ELDK4.1 and there > everything works. And also the '__builtin_alloca' Version works > with ELDK4.1. 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 compilers working (by chance) and some others breaking. (The patch above is in U-boot since november something I think) // Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot