This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: NIOS2 kernel tests failing
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Tue, 2 Jan 2007 15:47:01 +0000 (UTC)
- Subject: [ECOS] Re: NIOS2 kernel tests failing
- References: <emschl$7ve$1@sea.gmane.org> <m364bpem24.fsf@xl5.calivar.com>
On 2007-01-02, Nick Garnett <nickg@ecoscentric.com> wrote:
>> I've been unable to get all of the kernel tests to pass on a
>> NIOS2 platform. Four fail consistently:
>>
>> except1.cxx
>> kexcept1.cxx
>> kmutex3.c
>> mutex3.c
>>
>> I presume the first two are expected failures because the
>> -fno-exceptions flag is used during compilation.
>
> The -fno-exceptions flag turns off C++ exceptions. These tests are
> testing hardware exceptions, a totally different thing.
Ah. That's a clue I was missing. I'll put those two back on
my list of things to investigate.
> I don't know what exceptions the NIOS2 support, so either there are no
> suitable exceptions supported, or there is something wrong in the HAL
> level code that should deliver the exception to the kernel. Or maybe
> something needs to be done in the hardware configuration to enable it.
If it turns out there are no suitable exceptions supported, I
presume I should somehow disable the that test in CDL?
>> But, I don't know of any reason why the mutex3 tests shouldn't
>> work.
>
> I cannot see any reason for the mutex3 tests to fail. The fact
> that they run through several permutations before failing is
> odd. Perhaps it is a stack size or some other memory
> corruption issue. That is all I can think it might be at
> present.
Thanks.
--
Grant Edwards grante Yow! .. bleakness....
at desolation.... plastic
visi.com forks...
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss