Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: longdouble with elsize 12 is never uint alignable. #12621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 27, 2018

Conversation

charris
Copy link
Member

@charris charris commented Dec 27, 2018

Backport of #12611.

Fix #12607

It seems we hit an alignment assert on 32bit linux with longdouble dtype (which has elsize 12). Fix it in two stages (the first commit only extends CI to test asserts):

  1. Add -UNDEBUG to the CFLAGS so that the assert statements are checked (debug mode)
  2. Find and fix the underlying alignment issue

@charris charris added this to the 1.16.0 release milestone Dec 27, 2018
@charris charris merged commit 815f38f into numpy:maintenance/1.16.x Dec 27, 2018
@charris charris deleted the backport-12611 branch December 27, 2018 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants