This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Problems with test


I have recently ported eCos to a custom platform based on an SH2 chip. I am currently trying to build all the tests since I seem to be running into problems with multi-threads which I am trying to track down. Being very new to eCos this has been quite a learning process, but I am pretty stuck on this one.

   I have a configuration with everything included except uitron and networking. I am trying to build the tests but upon building the mbox1 test in the kernel, the compiler seems to seg fault:

sh-elf-gcc -c  -I/ecos-d/Dev/eCos/builds/test_install/include -I/ecos-d/ecos/ecos-2.0/packages/kernel/v2_0 -I/ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/src -I/ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/tests -I. -I/ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/tests/ -mb -m2 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -Wp,-MD,tests/mqueue1.tmp -o tests/mqueue1.o /ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/tests/mqueue1.cxx
make[1]: Leaving directory `/ecos-d/Dev/eCos/builds/test_build/kernel/v2_0'
/ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/tests/mqueue1.cxx: In function `void 
   cyg_user_start()':
/ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/tests/mqueue1.cxx:406: internal 
   error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [tests/mqueue1.d] Error 1
make: Leaving directory `/ecos-d/Dev/eCos/builds/test_build'
make: *** [tests] Error 2

I am reasonably sure I am using the latest version of the sh-elf-gcc which is 3.2.1 which I downloaded from cygwin last week. Has anyone come across this problem, or has any ideas what could be wrong. I was also getting a seg fault when building snmp which is why I have taken networking out.

	Any ideas anyone? Any help gratefully received.

		James Yates

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


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