Skip to content

gh-128437: Add BOLT_COMMON_FLAGS with -update-debug-sections - #128455

Merged
corona10 merged 2 commits into
python:mainfrom
zanieb:zb/bolt-common
Jan 5, 2025
Merged

corona10 merged 2 commits into
python:mainfrom
zanieb:zb/bolt-common

Conversation

@zanieb

@zanieb zanieb commented Jan 3, 2025 •

Copy link
Copy Markdown
Contributor

Adds a common flags variable that is used for both instrument and apply steps. Adds -update-debug-sections to the instrument step to resolve the BOLT warning.

This patch was originally authored by @indygreg as part of astral-sh/python-build-standalone#463

I dropped some additions to BOLT_COMMON_FLAGS, but will add them in a subsequent pull request.

Closes #128437

Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
@zanieb

zanieb commented Jan 3, 2025

Copy link
Copy Markdown
Contributor Author

I don't believe this needs a news entry.

@zanieb

zanieb commented Jan 4, 2025

Copy link
Copy Markdown
Contributor Author

As mentioned, the BOLT_COMMON_FLAGS will be subsequently used to fix #128472, e.g., zanieb@5448cd9

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

@corona10
corona10 merged commit b60044b into python:main Jan 5, 2025
@zanieb zanieb added needs backport to 3.12 only security fixes needs backport to 3.13 only security fixes labels Jan 5, 2025
@miss-islington-app

Copy link
Copy Markdown

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

@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 5, 2025
pythongh-128455)

Add `BOLT_COMMON_FLAGS` with `-update-debug-sections`

(cherry picked from commit b60044b)

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 request Jan 5, 2025
pythongh-128455)

Add `BOLT_COMMON_FLAGS` with `-update-debug-sections`

(cherry picked from commit b60044b)

Co-authored-by: Zanie Blue <contact@zanie.dev>
Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
@bedevere-app

bedevere-app Bot commented Jan 5, 2025

Copy link
Copy Markdown

GH-128512 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Jan 5, 2025
@bedevere-app

bedevere-app Bot commented Jan 5, 2025

Copy link
Copy Markdown

GH-128513 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Jan 5, 2025
corona10 pushed a commit that referenced this pull request Jan 5, 2025
…s` (gh-128455) (gh-128512)

gh-128437: Add `BOLT_COMMON_FLAGS` with `-update-debug-sections` (gh-128455)

Add `BOLT_COMMON_FLAGS` with `-update-debug-sections`

(cherry picked from commit b60044b)

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 request Jan 5, 2025
…s` (gh-128455) (gh-128513)

gh-128437: Add `BOLT_COMMON_FLAGS` with `-update-debug-sections` (gh-128455)

Add `BOLT_COMMON_FLAGS` with `-update-debug-sections`

(cherry picked from commit b60044b)

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 request Jan 6, 2025
pythongh-128455)

Add `BOLT_COMMON_FLAGS` with `-update-debug-sections`

Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
pythongh-128455)

Add `BOLT_COMMON_FLAGS` with `-update-debug-sections`

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

3 participants