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

Configure LLVM module PIC level #66062

Merged
merged 1 commit into from
Nov 6, 2019
Merged

Conversation

smaeul
Copy link
Contributor

@smaeul smaeul commented Nov 3, 2019

As of LLVM 9, this is required for 32-bit PowerPC to properly generate
PLT references. Previously, only BigPIC was supported; now LLVM supports
both BigPIC and SmallPIC, and there is no default value provided.

As of LLVM 9, this is required for 32-bit PowerPC to properly generate
PLT references. Previously, only BigPIC was supported; now LLVM supports
both BigPIC and SmallPIC, and there is no default value provided.
@rust-highfive
Copy link
Collaborator

r? @estebank

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 3, 2019
@estebank
Copy link
Contributor

estebank commented Nov 4, 2019

@bors r+

cc @rust-lang/compiler

@bors
Copy link
Contributor

bors commented Nov 4, 2019

📌 Commit 1943079 has been approved by estebank

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 4, 2019
Centril added a commit to Centril/rust that referenced this pull request Nov 6, 2019
Configure LLVM module PIC level

As of LLVM 9, this is required for 32-bit PowerPC to properly generate
PLT references. Previously, only BigPIC was supported; now LLVM supports
both BigPIC and SmallPIC, and there is no default value provided.
bors added a commit that referenced this pull request Nov 6, 2019
Rollup of 9 pull requests

Successful merges:

 - #65776 (Rename `LocalInternedString` and more)
 - #65973 (caller_location: point to macro invocation sites, like file!/line!, and use in core::panic!.)
 - #66015 (librustc_lexer: Refactor the module)
 - #66062 (Configure LLVM module PIC level)
 - #66086 (bump smallvec to 1.0)
 - #66092 (Use KERN_ARND syscall for random numbers on NetBSD, same as FreeBSD.)
 - #66103 (Add target thumbv7neon-unknown-linux-musleabihf)
 - #66133 (Update the bundled `wasi-libc` repository)
 - #66139 (use American spelling for `pluralize!`)

Failed merges:

r? @ghost
@bors bors merged commit 1943079 into rust-lang:master Nov 6, 2019
@smaeul smaeul deleted the patch/pic-level branch November 8, 2019 04:24
@RalfJung
Copy link
Member

RalfJung commented Nov 8, 2019

Could this change affect linking on Windows and macOS (something about symbol visibility)?
Something in a roll-up broke linking libstd in xargo, and most changes look entirely unrelated. I cannot judge this one.

@estebank
Copy link
Contributor

estebank commented Nov 8, 2019

@rust-lang/compiler should we revert and verify?

@RalfJung
Copy link
Member

RalfJung commented Nov 8, 2019

Turns out the problem was actually caused by a new compiler_builtins release: rust-lang/compiler-builtins#322. Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants