[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread STINNER Victor
STINNER Victor added the comment: It is a deliberate change but matbe it is not well documented? Should we update the C API doc? -- ___ Python tracker ___

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread Christian Heimes
Christian Heimes added the comment: memo to me: read the **whole** what's new document. https://docs.python.org/3.8/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread Christian Heimes
Christian Heimes added the comment: python-3.8.pc also omits -lpython3.8: $ pkg-config python-3.8 --libs -- ___ Python tracker ___ ___

[issue37183] Linker failure when creating main binary with python-config --libs

2019-06-06 Thread Christian Heimes
New submission from Christian Heimes : With 3.8 it is no longer possible to compile a custom Python interpreter with linker flags from python-config. The config helper omits the main Python library: $ python3.8-config --ldflags -L/usr/lib64 -lcrypt -lpthread -ldl -lutil -lm -lm $ gcc -L/