projects
/
rustc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7954664
)
[PATCH] bootstrap: Disable initial-exec TLS model on powerpc
author
John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de>
Sat, 29 May 2021 12:38:46 +0000
(12:38 +0000)
committer
Ximin Luo
<infinity0@debian.org>
Sat, 18 Sep 2021 10:45:21 +0000
(11:45 +0100)
Fixes #81334.
Gbp-Pq: Name u-85807.patch
src/bootstrap/builder.rs
patch
|
blob
|
history
diff --git
a/src/bootstrap/builder.rs
b/src/bootstrap/builder.rs
index 0fdafa39386340cf42924412383ab4ce77217ead..decbfa4dfdf591a95b1a540584c85343275095da 100644
(file)
--- a/
src/bootstrap/builder.rs
+++ b/
src/bootstrap/builder.rs
@@
-1212,7
+1212,7
@@
impl<'a> Builder<'a> {
// efficient initial-exec TLS model. This doesn't work with `dlopen`,
// so we can't use it by default in general, but we can use it for tools
// and our own internal libraries.
- if !mode.must_support_dlopen() {
+ if !mode.must_support_dlopen()
&& !target.triple.starts_with("powerpc-")
{
rustflags.arg("-Ztls-model=initial-exec");
}