This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hello world app SEG faults with Linux synth target


Please copy the mailing list to your replies - that way everyone
benefits.

Mandeep Sandhu writes:

> $ echo $ECOS_REPOSITORY
> /home/mandeep/ecos/ecos-3.0/packages
 
This looks well.

> $ gcc -v

[snip]

> gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)

GCC likes your kernel is the very recent stuff.

> $ tclsh
> % info pa
> 8.4.19

This looks well.

> > if ECOS_REPOSITORY is not empty, try invoke stdiooutput in that terminal
> > session.

> I did. Same result. Screenshot attached.
                      ^^^^^^^^^^^^^^^^^^^
                      Thanks, but that was odd :-)

So, _perhaps_ your issue is freshmeat kernel or (and) gcc.

You can

1) Try `i386-elf' toolchain from eCosCentric
ftp://ecos.sourceware.org/pub/ecos/gnutools/i386linux/ecoscentric-gnutools-i386-elf-20081107-sw.i386linux.tar.bz2

STFW
http://sourceware.org/ml/ecos-discuss/2009-05/msg00010.html

If that won't be work for you

2) ... downgrade your distro (I have success with Ubuntu 7.04, 8.04 LTS)
or try to run that distro on any kind VM under your nowadays distro.


Sergei


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]