public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "James Yates" <j.yates@quartzuk.com>
To: <ecos-discuss@sources.redhat.com>
Subject: [ECOS] Problems with test
Date: Tue, 14 Oct 2003 11:31:00 -0000	[thread overview]
Message-ID: <CB39E7B8FC98924D85DFBED207E4CC9831F8F0@ip02.quartzelec.adsl.gxn.net> (raw)

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

             reply	other threads:[~2003-10-14 11:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-14 11:31 James Yates [this message]
2003-10-14 11:43 ` Andrew Lunn
2003-10-14 14:30 James Yates
2003-10-14 15:09 ` Andrew Lunn
2003-10-15  8:35 James Yates

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CB39E7B8FC98924D85DFBED207E4CC9831F8F0@ip02.quartzelec.adsl.gxn.net \
    --to=j.yates@quartzuk.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).