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

Oops my apologies. Yes the version of gcc I am using was one that I downloaded with the latest version of eCos using the ecos-install.tcl script.

After much playing around with configurations I have discovered that if I build with -O2 specified as a Build Flag, i get a segmentation fault when building 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 various 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 changes throughout the entire source.
Is this a valid thing to do?

 I now have some tests running successfully although I have problems with signals, 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

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

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

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=CB39E7B8FC98924D85DFBED207E4CC98344209@ip02.quartzelec.adsl.gxn.net \
    --to=j.yates@quartzuk.com \
    --cc=andrew@lunn.ch \
    --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).