Skip to content

Commit 71f814a

Browse files
Ericson2314dezgeg
authored andcommittedJan 26, 2018
lib, glibc: Get rid of withTLS
glibc removed the underlying flag in 2011 in 83cd14204559abbb52635006832eaf4d2f42514a [1]. This gets us one step closer to fixing #34274: the cross stdenv for aarch64-unknown-linux-gnu at least evals now. Thanks to @dezgeg for doing all the research for this. [1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=83cd14204559abbb52635006832eaf4d2f42514a
1 parent 314fb3d commit 71f814a

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed
 

‎lib/systems/examples.nix

-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ rec {
1414
bigEndian = false;
1515
arch = "armv5tel";
1616
float = "soft";
17-
withTLS = true;
1817
libc = "glibc";
1918
platform = platforms.sheevaplug;
2019
openssl.system = "linux-generic32";
@@ -26,7 +25,6 @@ rec {
2625
arch = "armv6l";
2726
float = "hard";
2827
fpu = "vfp";
29-
withTLS = true;
3028
libc = "glibc";
3129
platform = platforms.raspberrypi;
3230
openssl.system = "linux-generic32";
@@ -38,7 +36,6 @@ rec {
3836
arch = "armv7-a";
3937
float = "hard";
4038
fpu = "vfpv3-d16";
41-
withTLS = true;
4239
libc = "glibc";
4340
platform = platforms.armv7l-hf-multiplatform;
4441
openssl.system = "linux-generic32";
@@ -48,7 +45,6 @@ rec {
4845
config = "aarch64-unknown-linux-gnu";
4946
bigEndian = false;
5047
arch = "aarch64";
51-
withTLS = true;
5248
libc = "glibc";
5349
platform = platforms.aarch64-multiplatform;
5450
};
@@ -67,7 +63,6 @@ rec {
6763

6864
libc = "glibc";
6965

70-
withTLS = true;
7166
openssl.system = "linux-generic32";
7267
};
7368

@@ -76,7 +71,6 @@ rec {
7671
bigEndian = false;
7772
arch = "mips";
7873
float = "hard";
79-
withTLS = true;
8074
libc = "glibc";
8175
platform = platforms.fuloong2f_n32;
8276
openssl.system = "linux-generic32";

‎pkgs/development/libraries/glibc/common.nix

-3
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ stdenv.mkDerivation ({
127127
] ++ lib.optionals withLinuxHeaders [
128128
"--enable-kernel=3.2.0" # can't get below with glibc >= 2.26
129129
] ++ lib.optionals (cross != null) [
130-
(if cross.withTLS then "--with-tls" else "--without-tls")
131130
(if cross ? float && cross.float == "soft" then "--without-fp" else "--with-fp")
132131
] ++ lib.optionals (cross != null) [
133132
"--with-__thread"
@@ -190,8 +189,6 @@ stdenv.mkDerivation ({
190189
libc_cv_forced_unwind=yes
191190
libc_cv_c_cleanup=yes
192191
libc_cv_gnu89_inline=yes
193-
# Only due to a problem in gcc configure scripts:
194-
libc_cv_sparc64_tls=${if cross.withTLS then "yes" else "no"}
195192
EOF
196193
197194
export BUILD_CC=gcc

‎pkgs/top-level/all-packages.nix

-1
Original file line numberDiff line numberDiff line change
@@ -5366,7 +5366,6 @@ with pkgs;
53665366
bigEndian = true;
53675367
arch = "mips";
53685368
float = "soft";
5369-
withTLS = true;
53705369
libc = "uclibc";
53715370
platform = {
53725371
name = "ben_nanonote";

0 commit comments

Comments
 (0)
Please sign in to comment.