Skip to content

Use RelocModel::Pic for UEFI targets#101413

Merged
bors merged 1 commit intorust-lang:masterfrom
nicholasbishop:bishop-remove-uefi-static-reloc
Sep 10, 2022
Merged

Use RelocModel::Pic for UEFI targets#101413
bors merged 1 commit intorust-lang:masterfrom
nicholasbishop:bishop-remove-uefi-static-reloc

Conversation

@nicholasbishop
Copy link
Contributor

In #100537, the relocation model for UEFI targets was changed from PIC (the default value) to
static. There was some dicussion of this change here: #100537 (comment)

It turns out that this can cause compilation to fail as described in #101377, so switch back to PIC.

Fixes #101377

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-UEFI UEFI S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Regression] GlobalValue with DLLImport Storage is dso_local!

10 participants