Skip to content
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

AIX build broken with Illegal instruction #127417

Closed
ayappanec opened this issue Nov 29, 2024 · 2 comments
Closed

AIX build broken with Illegal instruction #127417

ayappanec opened this issue Nov 29, 2024 · 2 comments
Labels
3.14 new features, bugs and security fixes build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@ayappanec
Copy link
Contributor

ayappanec commented Nov 29, 2024

Bug report

Bug description:

AIX build is broken with Illegal instruction after this merge #126025

./_bootstrap_python ./Programs/_freeze_module.py abc ./Lib/abc.py Python/frozen_modules/abc.h
./_bootstrap_python ./Programs/_freeze_module.py codecs ./Lib/codecs.py Python/frozen_modules/codecs.h
./_bootstrap_python ./Programs/_freeze_module.py io ./Lib/io.py Python/frozen_modules/io.h
./_bootstrap_python ./Programs/_freeze_module.py _collections_abc ./Lib/_collections_abc.py Python/frozen_modules/_collections_abc.h
./_bootstrap_python ./Programs/_freeze_module.py _sitebuiltins ./Lib/_sitebuiltins.py Python/frozen_modules/_sitebuiltins.h
./_bootstrap_python ./Programs/_freeze_module.py genericpath ./Lib/genericpath.py Python/frozen_modules/genericpath.h
gmake: *** [Makefile:1767: Python/frozen_modules/io.h] Illegal instruction
gmake: *** Waiting for unfinished jobs....
gmake: *** [Makefile:1764: Python/frozen_modules/codecs.h] Illegal instruction
gmake: *** [Makefile:1776: Python/frozen_modules/genericpath.h] Illegal instruction
gmake: *** [Makefile:1773: Python/frozen_modules/_sitebuiltins.h] Illegal instruction
gmake: *** [Makefile:1770: Python/frozen_modules/_collections_abc.h] Illegal instruction
gmake: *** [Makefile:1761: Python/frozen_modules/abc.h] Illegal instruction (core dumped)

Looking into the core,

dbx ./_bootstrap_python core
Illegal instruction (illegal opcode) in find_first_nonascii at line 5118 in file "Objects/unicodeobject.c" ($t1)
5118 size_t u = load_unaligned(p, end - p) & ASCII_CHAR_MASK;
(dbx) where
find_first_nonascii(start = 0x0000000100463852, end = 0x0000000000000140), line 5118 in "unicodeobject.c"
PyUnicode_DecodeUTF8(??, ??, ??), line 5371 in "unicodeobject.c"

CPython versions tested on:

CPython main branch

Operating systems tested on:

Other

Linked PRs

@ayappanec ayappanec added the type-bug An unexpected behavior, bug, or error label Nov 29, 2024
@ZeroIntensity ZeroIntensity added the build The build process and cross-build label Nov 29, 2024
@ZeroIntensity
Copy link
Member

cc @methane

@ZeroIntensity ZeroIntensity added the 3.14 new features, bugs and security fixes label Nov 29, 2024
@picnixz picnixz added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Nov 29, 2024
@picnixz
Copy link
Contributor

picnixz commented Nov 29, 2024

Some build bots are also broken. See: #126025 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 new features, bugs and security fixes build The build process and cross-build interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants