This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nathan3
Recipients nathan3
Date 2022-02-01.08:48:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643705299.86.0.148763425917.issue46596@roundup.psfhosted.org>
In-reply-to
Content
I'm trying to develop C++ Extension that needs to access the new line table. I have a call to PyLineTable_InitAddressRange in my extension. After compiling, "_PyLineTable_InitAddressRange" symbol is undefined in the .so (which is ok so far).

When importing the extension, it fails with this error:

ImportError: /usr/foo/foo.cpython-310-x86_64-linux-gnu.so: undefined symbol: _PyLineTable_InitAddressRange

Obviously python isn't exporting this symbol, and making the dlopen fail

I'd make a PR with a fix, but I'm not sure which approach is appropriate
History
Date User Action Args
2022-02-01 08:48:19nathan3setrecipients: + nathan3
2022-02-01 08:48:19nathan3setmessageid: <1643705299.86.0.148763425917.issue46596@roundup.psfhosted.org>
2022-02-01 08:48:19nathan3linkissue46596 messages
2022-02-01 08:48:19nathan3create