Hello list,
I noticed that both the LibJIT as well as Lightning libraries export
the jit_memcpy, jit_memmove, jit_realloc, and jit_free functions,
causing crashes when linking to both.
It looks like the functions are only declared in jit_private.h and not
part of the public API, so I have tried renaming them and this fixes
the problem:
Another option would be to control symbol export in the build system, which I've done in this commit:
mathematical _expression_ parsing library with JIT support, and I'd like to
offer as many options as possible for JIT backends, and am frequently (actually
always) building and linking against multiple JIT libs. It just seems like good
software practice not to export unneeded symbols, as they all occupy one single global namespace and the more symbols you export the slower the link times get,
Cheers,
Daniel