Closed Alessandro-Barbieri closed 2 years ago
I have never seen these tests fail. It might be because something goes wrong because clasp is used as a shared library. This has never been tested. I'll try to reproduce.
I think this is because of static functions defined in headers. The clasp and libpotassco headers have not been written to be used as a shared libraries. Using static libraries instead should work.
Closing this. Clingo only supports linking to a static clasp/libpotassco libraries.
Isn't possible to remove the static
keywords?
Isn't possible to remove the
static
keywords?
No, it cannot easily be removed. Nor can the functions be moved into the source files because they are template functions. Such functions cannot be used across different shared libraries. This requires a different approach. A shared library should be designed from ground up.
Gentoo's CI had this test failure
see https://bugs.gentoo.org/847319 log https://847319.bugs.gentoo.org/attachment.cgi?id=780596