[issue38350] ./configure --with-pydebug should use -O0 rather than -Og

STINNER Victor report at bugs.python.org
Thu Oct 3 03:11:14 EDT 2019


STINNER Victor <vstinner at python.org> added the comment:

> Do note though that if the -D_FORTIFY_SOURCE=2 hardening flag is used, the compilation will fail with an optimization level less than -Og.

Does it make any sense to use a debug build in production? Does it make sense to enable hardening on a debug buil?d

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38350>
_______________________________________


More information about the Python-bugs-list mailing list