Message379704
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 |
|
Date |
User |
Action |
Args |
2020-10-27 00:28:09 | vstinner | set | recipients:
+ vstinner, petr.viktorin, cstratak, hroncok, pablogsal |
2020-10-27 00:28:09 | vstinner | set | messageid: <1603758489.02.0.75717665693.issue42164@roundup.psfhosted.org> |
2020-10-27 00:28:09 | vstinner | link | issue42164 messages |
2020-10-27 00:28:08 | vstinner | create | |
|