From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19775 invoked by alias); 14 Oct 2003 11:31:08 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 19768 invoked from network); 14 Oct 2003 11:31:08 -0000 Received: from unknown (HELO sand4.gxn.net) (195.147.249.239) by sources.redhat.com with SMTP; 14 Oct 2003 11:31:08 -0000 Received: from ip02.quartzelec.adsl.gxn.net ([195.147.203.154] helo=server2000.Quartz.local) by sand4.gxn.net with esmtp (Exim 4.20) id 1A9NLi-0000PD-D2 for ecos-discuss@sources.redhat.com; Tue, 14 Oct 2003 12:28:22 +0100 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Tue, 14 Oct 2003 11:31:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "James Yates" To: Subject: [ECOS] Problems with test X-SW-Source: 2003-10/txt/msg00215.txt.bz2 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 pr= oblems with multi-threads which I am trying to track down. Being very new t= o eCos this has been quite a learning process, but I am pretty stuck on thi= s one. I have a configuration with everything included except uitron and networ= king. I am trying to build the tests but upon building the mbox1 test in th= e kernel, the compiler seems to seg fault: sh-elf-gcc -c -I/ecos-d/Dev/eCos/builds/test_install/include -I/ecos-d/eco= s/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 -Wstric= t-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O2 -ffunction-sec= tions -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/package= s/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=20 cyg_user_start()': /ecos-d/ecos/ecos-2.0/packages/kernel/v2_0/tests/mqueue1.cxx:406: internal= =20 error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See 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 t= his 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