L.S.,

We make Debian packages for JCC and PyLucene.

When building debug extensions for JCC and Lucene, we run into the problem
that JCC links the generated extension against libjcc3.so.

However, libjcc3.so defines Python objects and because the Python object
header defines additional fields in DEBUG mode, there need to be a separate
version of libjcc3.so to run with python3-dbg.

However, it looks like it is sufficient if the generated extension links
against _jcc3.cpython-37m-x86_64-linux-gnu.so, because all sources compiled
into libjcc3.so are also in this shared library.

This means that the debug version should link against the ...-37dm-...
version.

This would require some changes in the way JCC generates new extensions.

Is my reasoning correct or do I miss some things?

Best regards,
Erik

-- 
Seecr helpt informatieprofessionals met het consistent integreren en 
verbinden van decentrale metadata zodat zij zich helemaal kunnen focussen 
op de inhoud. 
Meer weten? Kijk op seecr.nl <https://seecr.nl>.

Reply via email to