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

Update to New StackCheckLib #201

Merged
merged 1 commit into from
Sep 24, 2024
Merged

Update to New StackCheckLib #201

merged 1 commit into from
Sep 24, 2024

Conversation

os-d
Copy link
Contributor

@os-d os-d commented Sep 13, 2024

edk2 PR tianocore/edk2#5957 removed BaseStackCheckLib and added StackCheckLibNull (amongst others).

This PR updates all dscs/dsc.incs to remove the old BaseStackCheckLib and if appropriate, add StackCheckLibNull to LibraryClasses.common.SEC or to specific SEC libs. For all other component types, MdeLibs.dsc.inc links them to StackCheckLibNull.

This does all dscs at once as it is formulaic and fixes build breaks.

This PR currently contains two extra commits from #196 so that I do not have to rebase on every dsc. When that PR goes in, I will rebase this PR (should be no changes to this PR other than the two commits will be gone). Please view just Update to New StackCheckLib in the commit view.

@os-d
Copy link
Contributor Author

os-d commented Sep 13, 2024

Holding off on this until tianocore/edk2#6201 merges, will take the solution there to here.

Copy link
Member

@heatd heatd left a comment

Choose a reason for hiding this comment

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

LGTM for Ext4Pkg

Copy link
Contributor

@hrw hrw left a comment

Choose a reason for hiding this comment

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

SbsaQemu works.

Copy link
Contributor

@samimujawar samimujawar left a comment

Choose a reason for hiding this comment

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

For Platform/ARM
Reviewed-by: Sami Mujawar [email protected]

@os-d
Copy link
Contributor Author

os-d commented Sep 24, 2024

This PR is ready to be merged now as we have reached agreement on the second edk2 PR. I will fix up the merge conflicts and push.

edk2 PR tianocore/edk2#5957 removed
BaseStackCheckLib and added StackCheckLibNull (amongst others).
This PR updates all dscs/dsc.incs to remove the old BaseStackCheckLib
and if appropriate, add StackCheckLibNull to LibraryClasses.common.SEC
or to specific SEC libs. For all other component types, MdeLibs.dsc.inc
links them to StackCheckLibNull.

This does all dscs at once as it is formulaic and fixes build breaks.

Continuous-integration-options: PatchCheck.ignore-multi-package

Signed-off-by: Oliver Smith-Denny <[email protected]>
@os-d
Copy link
Contributor Author

os-d commented Sep 24, 2024

@samimujawar @ardbiesheuvel @hrw @nhivp @heatd @ndhillonm @leiflindholm I have rebased this PR to drop the two commits that have since merged to master and resolved the merge conflicts. Can we merge this now?

@hrw hrw merged commit 7663e46 into tianocore:master Sep 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants