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.

classification
Title: Getting a lot of runtime misaligned address error while building python 2.7.6 with UBSAN
Type: behavior Stage: resolved
Components: Build Versions: Python 2.7
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: dibya ranjan mishra, zach.ware
Priority: normal Keywords:

Created on 2019-05-05 15:33 by dibya ranjan mishra, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg341453 - (view) Author: dibya ranjan mishra (dibya ranjan mishra) Date: 2019-05-05 15:33
I downloaded python 2.7.6 source and am trying to build with UBSAN flag following the instructions https://devguide.python.org/clang/. But I am getting a lot of misaligned address errors when I run make or make test command. Below is an example:

Objects/listobject.c:161:5: runtime error: member access within misaligned address 0x2adff0773228 for type 'struct (anonymous struct at Include/objimpl.h:253:5)', which requires 16 byte alignment


I need this ubsan enabled python 2.7 as a part of my project.
msg367350 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2020-04-27 02:04
As Python 2.7 has reached EOL, I'm closing this issue.  However, if you can reproduce the problem with a modern version of Python (3.6-3.8), please reopen it and adjust the versions field appropriately.
History
Date User Action Args
2022-04-11 14:59:14adminsetgithub: 80984
2020-04-27 02:04:28zach.waresetstatus: open -> closed

nosy: + zach.ware
messages: + msg367350

resolution: out of date
stage: resolved
2019-05-05 15:33:43dibya ranjan mishracreate