[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LibJIT / Lightning interoperability issue
From: |
Daniel Schwen |
Subject: |
LibJIT / Lightning interoperability issue |
Date: |
Sat, 29 Aug 2020 15:19:05 -0600 |
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:
https://github.com/dschwen/lightning/commit/268bd6ced9b350a1fc8edd02ce0b2c5cb32e6ad8
Another option would be to control symbol export in the build system.
Cheers,
Daniel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- LibJIT / Lightning interoperability issue,
Daniel Schwen <=