We now have a Coldfire (uC5282) BSP that can run on a simulator (qemu).  I am
trying to run the ACATS and getting ~300 failures on the GCC head.  There are
no anomalies in the RTEMS tests.  

$ m68k-rtems4.10-gcc --version
m68k-rtems4.10-gcc (GCC) 4.5.0 20090921 (experimental) [trunk revision 151936]

This version is getting very good results on sparc and mips.

In tracing into the failure, I see this:

(gdb) bt
#0  sigaction (sig=6, act=0xfffffff0, oact=0xffffffe4)
    at /users/joel/test-gcc/rtems/cpukit/posix/src/sigaction.c:39
#1  0x000462e6 in system.task_primitives.operations.initialize (
    environment_task=<value optimized out>) at s-taprop.adb:1470
(gdb) p/x $sp
$6 = 0xe3c00

The $sp is perfectly valid and it doesn't look like we have used much stack.
But the act and oact pointers are completely bogus.  An earlier call showed
this:

Breakpoint 1, sigaction (sig=11, act=0xe3c10, oact=0xe3c04)
    at /users/joel/test-gcc/rtems/cpukit/posix/src/sigaction.c:39
39      {
(gdb) 

Suggestions on what to look for are definitely appreciated.


-- 
           Summary: coldfire ACATS failures
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: joel at gcc dot gnu dot org
GCC target triplet: m68k-rtems4.10


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41434

Reply via email to