Skip to content

Regression building python 3.11.3 on ppc64le #62379

@tstellar

Description

@tstellar

I've run in to a regression building Python 3.11.3 on ppc64le. I bisected it and the regression as caused by 7d10213.

The problem is that one of the Python tests segfaults at this line: https://github.com/python/cpython/blob/f3909b8bc83675b7ab093dbc558e677558d8e718/Python/dtoa.c#L1660

I've attached the output of

clang -S -emit-llvm -Xclang -disable-llvm-optzns -c -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -g -Og -Wall -O2  -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection  -D_GNU_SOURCE -fPIC -fwrapv   -O2  -fexceptions -g -grecord-gcc-switches -pipe -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong   -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection  -D_GNU_SOURCE -fPIC -fwrapv   -flto -g -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden  -I../Include/internal -IObjects -IInclude -IPython -I. -I../Include   -fPIC -DPy_BUILD_CORE -fno-strict-aliasing -o Python/dtoa.ll ../Python/dtoa.c

dtoa.ll.txt

@fhahn @nikic

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions