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: Andrew Lunn <andrew dot lunn at ascom dot ch>
- To: Erik Aagaard Knudsen <EAK at penell dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 19 Mar 2003 12:05:50 +0100
- Subject: Re: [ECOS] Stack access violations in eCos
- References: <AB439ADBB821D41181CC00D0B7458AEB01B63009@srv-exchange.rtx>
> 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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss