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 vstinner
Recipients cstratak, hroncok, pablogsal, petr.viktorin, vstinner
Date 2020-10-27.00:28:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603758489.02.0.75717665693.issue42164@roundup.psfhosted.org>
In-reply-to
Content
With LTO, compile.o requires an undefined _Py_Mangle symbol:

$ gcc -pthread -c -DNDEBUG -fwrapv -O3 -std=c99 -fvisibility=hidden -flto -I./Include/internal  -I. -I./Include -DPy_BUILD_CORE -o Python/compile.o Python/compile.c; nm Python/compile.o | grep _Py_Mangle

         U _Py_Mangle


Without LTO, compile.o defines _Py_Mangle symbol:

$ gcc -pthread -c -DNDEBUG -fwrapv -O3 -std=c99 -fvisibility=hidden -I./Include/internal  -I. -I./Include -DPy_BUILD_CORE -o Python/compile.o Python/compile.c; nm Python/compile.o | grep _Py_Mangle

0000000000003c20 T _Py_Mangle
History
Date User Action Args
2020-10-27 00:28:09vstinnersetrecipients: + vstinner, petr.viktorin, cstratak, hroncok, pablogsal
2020-10-27 00:28:09vstinnersetmessageid: <1603758489.02.0.75717665693.issue42164@roundup.psfhosted.org>
2020-10-27 00:28:09vstinnerlinkissue42164 messages
2020-10-27 00:28:08vstinnercreate