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 ronaldoussoren
Recipients ronaldoussoren, shihai1991
Date 2019-07-30.18:25:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1564511117.1.0.622838461511.issue37681@roundup.psfhosted.org>
In-reply-to
Content
A GCC export should be able to tell more, but the warning should be harmless.

Objects/obmalloc.c says that the thread sanitizer is available from GCC 4.8, but for some reason it isn't on your system. This seems to be a bug in obmalloc.c:  The GCC 4.8.5 docs don't mention this attribute [1], while the 5.5 docs do [2]

[1] https://gcc.gnu.org/onlinedocs/gcc-4.8.5/gcc/Function-Attributes.html#Function-Attributes
[2] https://gcc.gnu.org/onlinedocs/gcc-5.5.0/gcc/Function-Attributes.html#Function-Attributes

There's a couple of releases between 4.8.5 and 5.5.0, I don't know which one introduces this function attribute. Once that version is know it should be fairly easy to provide a patch that only uses the attribute for new enough compilers.
History
Date User Action Args
2019-07-30 18:25:17ronaldoussorensetrecipients: + ronaldoussoren, shihai1991
2019-07-30 18:25:17ronaldoussorensetmessageid: <1564511117.1.0.622838461511.issue37681@roundup.psfhosted.org>
2019-07-30 18:25:17ronaldoussorenlinkissue37681 messages
2019-07-30 18:25:16ronaldoussorencreate