On 10/18/2013 08:07 PM, Stephen Tether wrote:
Hi, all. At SLAC we've just started to experiment with the ML1 SMP
version of RTEMS 4.11.0.1 on the Zynq. We're having a problem with
some statically allocated C++ objects: the constructors are not being
called before the first calls to the objects' member functions, which
eventually results in a data abort due to a null pointer. Sometimes
the constructors *are* called first, sometimes they are called too
late and sometimes they don't get called at all before the abort. How
are static constructors handled in this version of RTEMS and which
source files do I need to look at?
Are sure not to be hit by
http://www.parashift.com/c++-faq/static-init-order.html ?
Ralf
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel