[ECOS] Stack access violations in eCos

Andrew Lunn andrew.lunn@ascom.ch
Wed Mar 19 11:31: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

-- 
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