-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
BOLT fails with --enabled-shared
on LLVM 19 with "unable to get new address"
#128472
Comments
zanieb
added
type-bug
An unexpected behavior, bug, or error
build
The build process and cross-build
labels
Jan 4, 2025
This is also reported in #124948 though less clearly. There's helpful and relevant discussion there. I do not have a preference on which issue is retained, hopefully this one helps with discoverability. We should be able to patch this soon. |
This was referenced Jan 4, 2025
corona10
pushed a commit
that referenced
this issue
Jan 7, 2025
…ors (gh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> * NEWS --------- Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 7, 2025
…to errors (pythongh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> * NEWS --------- (cherry picked from commit 24b147a) Co-authored-by: Zanie Blue <contact@zanie.dev> Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jan 7, 2025
…to errors (pythongh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> * NEWS --------- (cherry picked from commit 24b147a) Co-authored-by: Zanie Blue <contact@zanie.dev> Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
corona10
pushed a commit
that referenced
this issue
Jan 7, 2025
…oto errors (gh-128511) (gh-128572) gh-128472: Add `-skip-funcs` to BOLT options to fix computed goto errors (gh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors * NEWS --------- (cherry picked from commit 24b147a) Co-authored-by: Zanie Blue <contact@zanie.dev> Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
corona10
pushed a commit
that referenced
this issue
Jan 7, 2025
…oto errors (gh-128511) (#128573) gh-128472: Add `-skip-funcs` to BOLT options to fix computed goto errors (gh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors * NEWS --------- (cherry picked from commit 24b147a) Co-authored-by: Zanie Blue <contact@zanie.dev> Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
As originally reported in astral-sh/python-build-standalone#463
This results in an error like
Reproduced with
Without
--enable-shared
, the failure doesn't occur.There's an upstream fix in progress at llvm/llvm-project#120267 — I'm not sure when it will be available. In the meantime, we should skip the functions. The patch fixing this will extend the common flags proposed in #128455, e.g., zanieb@5448cd9
See also, commentary at #124948 (comment)
Additional logs
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
-skip-funcs
to BOLT options to fix computed goto errors #128511-skip-funcs
to BOLT options to fix computed goto errors (gh-128511) #128572-skip-funcs
to BOLT options to fix computed goto errors (gh-128511) #128573The text was updated successfully, but these errors were encountered: