--- glibc-2.21/sysdeps/generic/ldsodefs.h.orig	2015-03-26 00:26:10.892301905 +0100
+++ glibc-2.21/sysdeps/generic/ldsodefs.h	2015-03-26 00:26:18.401301799 +0100
@@ -389,7 +389,7 @@
 #define TLS_SLOTINFO_SURPLUS (62)
 
 /* Number of additional slots in the dtv allocated.  */
-#define DTV_SURPLUS	(14)
+#define DTV_SURPLUS	(32)
 
   /* Initial dtv of the main thread, not allocated with normal malloc.  */
   EXTERN void *_dl_initial_dtv;
