All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] [PATCH 0/3] dlopen testcase
@ 2018-04-24 12:37 Henning Schild
  2018-04-24 12:37 ` [Xenomai] [PATCH 1/3] Revert "boilerplate/setup: introduce destructors for __setup_call" Henning Schild
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Henning Schild @ 2018-04-24 12:37 UTC (permalink / raw)
  To: Xenomai

The test binary was actually linked as a xenomai binary, so the test did
not actually cover the "cold" init phase.
Turns out that in fact dlclose will not truly work, because we lack
destructors for the init functions of the so called setup_descriptors.

So first revert the patch introducing destructors. We do not have code
to destruct, dont even pretent by addressing a fraction of the whole
problem.

Second change the linker flags and make the testcase cover cold init.
Remove the calls to dlclose() and the re-dlopen(), because that is not
actually supported.

And last but not least, make sure a dlclose() will not actually work on
xenomai libs.

Henning Schild (3):
  Revert "boilerplate/setup: introduce destructors for __setup_call"
  smokey/dlopen: fix testcase
  build: link dlopen libs with "nodelete"

 configure.ac                              | 1 +
 include/boilerplate/setup.h               | 7 -------
 lib/boilerplate/setup.c                   | 6 ------
 testsuite/smokey/dlopen/Makefile.am       | 8 +-------
 testsuite/smokey/dlopen/dlopentest.c      | 9 ---------
 testsuite/smokey/dlopen/libalchemy-test.c | 2 +-
 6 files changed, 3 insertions(+), 30 deletions(-)

-- 
2.16.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-24 12:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24 12:37 [Xenomai] [PATCH 0/3] dlopen testcase Henning Schild
2018-04-24 12:37 ` [Xenomai] [PATCH 1/3] Revert "boilerplate/setup: introduce destructors for __setup_call" Henning Schild
2018-04-24 12:37 ` [Xenomai] [PATCH 2/3] smokey/dlopen: fix testcase Henning Schild
2018-04-24 12:37 ` [Xenomai] [PATCH 3/3] build: link dlopen libs with "nodelete" Henning Schild

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.