[Xenomai] Question about the implementation of tunables.

Ronny Meeus ronny.meeus at gmail.com
Mon Dec 5 17:36:09 CET 2016


we use the pSOS skin over the Mercury core.

I'm preparing a set of patches that introduce new tunables.
What I observe is that in a small test applications it works well but once I
start to use these in our real applications, I observe that the tunables are
not called.

I have identified that the root-cause of this is that we postpone the calling
of the static constructors to a certain point in the application init and call
__do_global_ctors_aux ourselves.
(to make this work our build enviroment uses the -nostartfiles linker option
and some other constructs ...)

Now the question is: are there any option to make this work or have other
people seen similar issues before?
So we should be able to call the static constructors of the tunables only
before we call copperplate_init ...


More information about the Xenomai mailing list