[ECOS] Stack access violations in eCos

Larice Robert larice@vidisys.de
Wed Mar 19 13:47:00 GMT 2003


> > I know that most gcc compilers places one dimensional char arrays on 4 byte
> > boundaries. But this is not the case for multidimensional char arrays (and
> > there are some of these in eCos). Unfortunately my gcc compiler does not
> > place any char arrays on 4 byte boundaries. I use the arm-elf tool chain:
> > 
> > gcc version 3.0.2 20010924 (prerelease)
> > GNU assembler version 2.10.1 (arm-elf) using BFD version 2.10.1
> > GNU ld version 2.10.1 (with BFD 2.10.1)
> > 
> > This was the official tool chain at the time I loaded my first version of
> > eCos from the Red Hat homepage. Could that be a problem?
> 
> Could be. I've never had problems with 2.9-ecos-99r1. The latest
> supported compiler is gcc version 3.2.1. Try that. You can get it by
> using the new ecos-install.tcl script. Pass the -t flag and it will
> get just the prebuilt binaries.
> 
>     Andrew

Dear Andrew Lunn, Jonathan Larmour,

  would you please PLEASE be so kind to try the experiment in
    http://sources.redhat.com/ml/ecos-patches/2003-03/msg00086.html

  it's really short, won't cost much time, the results are
    really intresting.

Robert

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list