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 Igor.Skochinsky
Recipients Igor.Skochinsky, brandtbucher, gvanrossum, hroncok, lys.nikolaou, miss-islington, ned.deily, nnemkin, pablogsal, terry.reedy, vstinner
Date 2020-12-02.00:08:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606867730.67.0.291698600923.issue40939@roundup.psfhosted.org>
In-reply-to
Content
Attached is a sample program which works on 3.9 but fails linking with 3.10.0a2 

The .so is missing the symbol:

igor@LAPTOP:~/py_limited_api_example$ nm /home/igor/lib/libpython3.9.so | grep Py_CompileString
0000000000212720 T Py_CompileString
000000000020fe30 T Py_CompileStringExFlags
0000000000212730 T Py_CompileStringFlags
000000000020fd40 T Py_CompileStringObject

igor@LAPTOP:~/py_limited_api_example$ nm /home/igor/lib/libpython3.10.so | grep Py_CompileString
0000000000201a40 T Py_CompileStringExFlags
0000000000201980 T Py_CompileStringObject


Please stop breaking the Stable ABI :/
History
Date User Action Args
2020-12-02 00:08:50Igor.Skochinskysetrecipients: + Igor.Skochinsky, gvanrossum, terry.reedy, vstinner, ned.deily, nnemkin, hroncok, lys.nikolaou, pablogsal, miss-islington, brandtbucher
2020-12-02 00:08:50Igor.Skochinskysetmessageid: <1606867730.67.0.291698600923.issue40939@roundup.psfhosted.org>
2020-12-02 00:08:50Igor.Skochinskylinkissue40939 messages
2020-12-02 00:08:50Igor.Skochinskycreate