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 pitrou, serhiy.storchaka, vstinner
Date 2017-12-20.17:55:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1513792533.07.0.213398074469.issue32375@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, I missed the warning because I forge -O0 when I build Python.

https://wiki.ubuntu.com/ToolChain/CompilerFlags

Ubuntu adds -D_FORTIFY_SOURCE=2 flag by default.

The warnings can be seen with "-D_FORTIFY_SOURCE=2 -Og", but not with "-D_FORTIFY_SOURCE=2 -O3". Moreover, "-D_FORTIFY_SOURCE=2 -O0" complains that _FORTIFY_SOURCE requires to optimize the code.

It looks more like a false alarm because -D_FORTIFY_SOURCE=2 is incompatible with -Og.

Maybe we should force -D_FORTIFY_SOURCE=0 when we build Python in debug mode?
History
Date User Action Args
2017-12-20 17:55:33vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2017-12-20 17:55:33vstinnersetmessageid: <1513792533.07.0.213398074469.issue32375@psf.upfronthosting.co.za>
2017-12-20 17:55:33vstinnerlinkissue32375 messages
2017-12-20 17:55:33vstinnercreate