[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rtems++ failure help....
- Date: Sat, 27 May 2000 13:48:46 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: rtems++ failure help....
"John S. Gwynne" wrote:
> | > I'm trying to make progress in understanding why the rtems++ test program
> | > (beta3) fails on the efi332 (m68332) target.
> | > The virtual pointer table (_vptr) is zero, which leads to my "bus
> | > error" when the virtual function task->body is resolved and
> | > executed (I think :).
> | Looking at the code, Task1 is a global object. If you do not run static
> | constructors this test will fail. Maybe the test code should check for
> | this case.
> And that is indeed the case. Turns out bootcard was not calling _init
> which was not calling the appropriate constructor... easy fix... add
> "AM_CPPFLAGS = -DUSE_INIT_FINI" to startup/Makefile. Now onto the
> problem in sp28...
Does this mean that ALL m68k BSPs need to have this turned on?
Comments appreciated before I do something broad. :)
> john gwynne
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985