Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-128472: Add-skip-funcs to BOLT options to fix computed goto errors#128511

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
corona10 merged 2 commits intopython:mainfromzanieb:zb/bolt-skip-funcs
Jan 7, 2025

Conversation

zanieb
Copy link
Contributor

@zaniebzanieb commentedJan 5, 2025
edited
Loading

This patch was originally authored as part ofastral-sh/python-build-standalone#463

Makes use of the common options added in#128455

Closes#128472
Backport needed for#124948

zanieband others added2 commitsJanuary 4, 2025 22:31
Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
@corona10
Copy link
Member

cc@aaupov You may be interested in this issue as the CPython use-case.. :)

dnl At least LLVM 19.x doesn't support computed gotos in PIC compiled code.
dnl Exclude functions containing computed gotos.
dnl TODO this may be fixed in LLVM 20.x via https://github.com/llvm/llvm-project/pull/120267.
[-skip-funcs=_PyEval_EvalFrameDefault,sre_ucs1_match/1,sre_ucs2_match/1,sre_ucs4_match/1]
Copy link
Member

@corona10corona10Jan 5, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Now we have reasons to add CI to maintain this list actively.

zanieb reacted with thumbs up emoji
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@corona10corona10 merged commit24b147a intopython:mainJan 7, 2025
47 checks passed
@zaniebzanieb added needs backport to 3.12only security fixes needs backport to 3.13bugs and security fixes labelsJan 7, 2025
@miss-islington-app
Copy link

Thanks@zanieb for the PR, and@corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Thanks@zanieb for the PR, and@corona10 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 7, 2025
…to errors (pythongh-128511)* Add `-skip-funcs` to BOLT options to fix computed goto errorsCo-authored-by: Gregory Szorc <gregory.szorc@gmail.com>* NEWS---------(cherry picked from commit24b147a)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 pull requestJan 7, 2025
…to errors (pythongh-128511)* Add `-skip-funcs` to BOLT options to fix computed goto errorsCo-authored-by: Gregory Szorc <gregory.szorc@gmail.com>* NEWS---------(cherry picked from commit24b147a)Co-authored-by: Zanie Blue <contact@zanie.dev>Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
@bedevere-app
Copy link

GH-128572 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelJan 7, 2025
@bedevere-app
Copy link

GH-128573 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJan 7, 2025
corona10 pushed a commit that referenced this pull requestJan 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 commit24b147a)Co-authored-by: Zanie Blue <contact@zanie.dev>Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
corona10 pushed a commit that referenced this pull requestJan 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 commit24b147a)Co-authored-by: Zanie Blue <contact@zanie.dev>Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull requestJan 8, 2025
…to errors (pythongh-128511)* Add `-skip-funcs` to BOLT options to fix computed goto errorsCo-authored-by: Gregory Szorc <gregory.szorc@gmail.com>* NEWS---------Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@corona10corona10corona10 approved these changes

@erlend-aaslanderlend-aaslandAwaiting requested review from erlend-aaslanderlend-aasland is a code owner

Assignees

@corona10corona10

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

BOLT fails with--enabled-shared on LLVM 19 with "unable to get new address"
2 participants
@zanieb@corona10

[8]ページ先頭

©2009-2025 Movatter.jp