This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Stack access violations in eCos
- From: Larice Robert <larice at vidisys dot de>
- To: Andrew Lunn <andrew dot lunn at ascom dot ch>
- Cc: jifl at eCosCentric dot com, ecos-discuss at sources dot redhat dot com
- Date: Wed, 19 Mar 2003 14:32:15 +0100 (CET)
- Subject: Re: [ECOS] Stack access violations in eCos
> > 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