From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10364 invoked by alias); 14 Oct 2003 14:30:34 -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 10318 invoked from network); 14 Oct 2003 14:30:32 -0000 Received: from unknown (HELO sand1.gxn.net) (195.147.249.207) by sources.redhat.com with SMTP; 14 Oct 2003 14:30:32 -0000 Received: from ip02.quartzelec.adsl.gxn.net ([195.147.203.154] helo=server2000.Quartz.local) by sand1.gxn.net with esmtp (Exim 4.20) id 1A9QTK-0004YE-EA; Tue, 14 Oct 2003 15:48:26 +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 14:30:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "James Yates" To: "Andrew Lunn" Cc: Subject: RE: [ECOS] Problems with test X-SW-Source: 2003-10/txt/msg00221.txt.bz2 Oops my apologies. Yes the version of gcc I am using was one that I downloa= ded with the latest version of eCos using the ecos-install.tcl script. After much playing around with configurations I have discovered that if I b= uild with -O2 specified as a Build Flag, i get a segmentation fault when bu= ilding mqueue1 test. If I specifiy -O1 or no optimization this problem goes= away. So for the moment I have optimization at level 1. This has enabled to build most tests, although some of the clock tests in = Libc time have failed due to cache problems. I have no cache defined since = the SH2 I am using has no on-chip cache, this has caused me problems in var= ious areas of the tree. I have had to resort to defining the various cache = related functions to asm("nop") in my variant src to save having to make ch= anges throughout the entire source. Is this a valid thing to do? I now have some tests running successfully although I have problems with s= ignals, timers and mutex related stuff. -----Original Message----- From: Andrew Lunn [mailto:andrew@lunn.ch] Sent: 14 October 2003 12:43 To: James Yates Cc: ecos-discuss@sources.redhat.com Subject: Re: [ECOS] Problems with test > 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. Have you tried the compiler recommended by eCosCentric? There version has been tested with eCos and should work fine. See http://ecos.sourceware.org/ecos/getstart.html, section toolchain. Andrew -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss