dlopen testcase
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Revert "boilerplate/setup: introduce destructors for __setup_call"include/ lib/ | +0 | 0 replies | |
| 2/3 | smokey/dlopen: fix testcasetestsuite/ testsuite/ testsuite/ | +2 | 0 replies | |
| 3/3 | build: link dlopen libs with "nodelete"configure.ac | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Xenomai] [PATCH 0/3] dlopen testcase
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(-)
Signature · 1 line
2.16.1