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


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

So I tried this step first (everythin built with the hosts GCC), but
unfortunately
I got the same results! :(

Some info on the new setup:

$ cat /etc/issue
Ubuntu 7.10 \n \l

$ uname -a
Linux vdp-server-1 2.6.22-14-server #1 SMP Tue Feb 12 08:27:05 UTC
2008 i686 GNU/Linux

$ echo $ECOS_REPOSITORY
/home/server/ecos/ecos-3.0/packages

$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug
--enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

$ tclsh
% info pa
8.3.5
%

I'll goto step 1 now.

I have installed the i386-elf toolchain using the ecos-install.tcl script.
Hope this is ok.

Regards,
-mandeep

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