Skip to content

fix: add upstream set_context patch to crash-gcore#15453

Merged
jslobodzian merged 2 commits into3.0-devfrom
chrco/crash-gcore-fix
Jan 7, 2026
Merged

fix: add upstream set_context patch to crash-gcore#15453
jslobodzian merged 2 commits into3.0-devfrom
chrco/crash-gcore-fix

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

@christopherco christopherco commented Jan 6, 2026

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Summary

The recent crash v9.0.0 update also updated the definition for set_context to add a 3rd parameter. This change created a build break for crash-gcore-command which was using the older set_context definition.

Apply the recent upstream crash-gcore commit that fixes the build break.

Fixes: eab04d9 ("crash: update to 9.0.0 and rework how vendored gdb patches are applied (#15426)")
Signed-off-by: Chris Co chrco@microsoft.com

Does this affect the toolchain?

NO

Associated issues
Test Methodology

@microsoft-github-policy-service microsoft-github-policy-service bot added Packaging 3.0-dev PRs Destined for AzureLinux 3.0 labels Jan 6, 2026
The recent crash v9.0.0 update also updated the definition for
set_context to add a 3rd parameter. This change created a build break
for crash-gcore-command which was using the older set_context
definition.

Apply the recent upstream crash-gcore commit that fixes the build
break.

Signed-off-by: Chris Co <chrco@microsoft.com>
@christopherco christopherco force-pushed the chrco/crash-gcore-fix branch from 32300c8 to d7fa9bc Compare January 6, 2026 21:35
Signed-off-by: Chris Co <chrco@microsoft.com>
@christopherco christopherco marked this pull request as ready for review January 6, 2026 23:04
@christopherco christopherco requested a review from a team as a code owner January 6, 2026 23:04
@christopherco christopherco requested a review from Copilot January 6, 2026 23:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a build break in crash-gcore-command caused by the recent crash v9.0.0 update. The crash v9.0.0 update modified the set_context() function to accept a third parameter, which broke compatibility with crash-gcore-command that was still using the old two-parameter signature.

Key Changes:

  • Applied upstream patch from crash-gcore to update set_context() calls with the new three-parameter signature
  • Updated BuildRequires and Requires dependencies from crash >= 7.2.5 to crash >= 9.0.0
  • Incremented the Release tag from 2 to 3

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
SPECS/crash-gcore-command/set_context-third-arg.patch New patch file adding FALSE as third parameter to set_context() calls to fix build compatibility with crash v9.0.0
SPECS/crash-gcore-command/crash-gcore-command.spec Updated release number, added patch reference, updated crash dependency version requirements, improved patch application documentation, and added changelog entry

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread SPECS/crash-gcore-command/set_context-third-arg.patch
Comment thread SPECS/crash-gcore-command/set_context-third-arg.patch
Comment thread SPECS/crash-gcore-command/set_context-third-arg.patch
@jslobodzian jslobodzian merged commit 3a7ce97 into 3.0-dev Jan 7, 2026
31 of 34 checks passed
@jslobodzian jslobodzian deleted the chrco/crash-gcore-fix branch January 7, 2026 01:35
sandeepkarambelkar pushed a commit that referenced this pull request Jan 8, 2026
Signed-off-by: Chris Co <chrco@microsoft.com>
sandeepkarambelkar pushed a commit that referenced this pull request Jan 9, 2026
Signed-off-by: Chris Co <chrco@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0-dev PRs Destined for AzureLinux 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants