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 jd, methane, vstinner
Date 2020-02-10.13:34:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581341697.85.0.279287028141.issue39599@roundup.psfhosted.org>
In-reply-to
Content
You can find the rationale for this change in two issues:

* bpo-27987
* bpo-36618

First, it was a warning in clang ubsan (Undefined Behavior Sanitizer).
Then ctypes started to crash when Python was compiled with clang. It
means that compiling Python 3.7 with clang also had the issue.

The quick fix was to compile Python with -fmax-type-align=8 when clang
was detected.

But it was a signal that something was wrong in Python on x86-64:
Python didn't respect the x86-64 ABI.
History
Date User Action Args
2020-02-10 13:34:57vstinnersetrecipients: + vstinner, methane, jd
2020-02-10 13:34:57vstinnersetmessageid: <1581341697.85.0.279287028141.issue39599@roundup.psfhosted.org>
2020-02-10 13:34:57vstinnerlinkissue39599 messages
2020-02-10 13:34:57vstinnercreate