Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 5217d876f59702fff6d4e35a46046534 > files > 20

gcc44-4.4.0-6.el5.src.rpm

--- config/tls.m4.jj	2007-12-07 08:50:38.000000000 -0500
+++ config/tls.m4	2008-09-19 07:20:59.000000000 -0400
@@ -40,7 +40,7 @@ AC_DEFUN([GCC_CHECK_TLS], [
 	  AC_RUN_IFELSE(
 	    [AC_LANG_PROGRAM(
 	       [#include <pthread.h>
-		__thread int a;
+		__thread int a __attribute__((tls_model ("local-exec")));
 		static int *a_in_other_thread;
 		static void *
 		thread_func (void *arg)
--- libgomp/configure.jj	2008-09-19 06:49:51.000000000 -0400
+++ libgomp/configure	2008-09-19 07:21:00.000000000 -0400
@@ -17195,7 +17195,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <pthread.h>
-		__thread int a;
+		__thread int a __attribute__((tls_model ("local-exec")));
 		static int *a_in_other_thread;
 		static void *
 		thread_func (void *arg)
--- libjava/configure.jj	2008-09-19 06:49:51.000000000 -0400
+++ libjava/configure	2008-09-19 07:21:00.000000000 -0400
@@ -27570,7 +27570,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <pthread.h>
-		__thread int a;
+		__thread int a __attribute__((tls_model ("local-exec")));
 		static int *a_in_other_thread;
 		static void *
 		thread_func (void *arg)
--- libmudflap/configure.jj	2008-01-25 09:09:19.000000000 -0500
+++ libmudflap/configure	2008-09-19 07:21:00.000000000 -0400
@@ -12220,7 +12220,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <pthread.h>
-		__thread int a;
+		__thread int a __attribute__((tls_model ("local-exec")));
 		static int *a_in_other_thread;
 		static void *
 		thread_func (void *arg)
--- libstdc++-v3/configure.jj	2008-07-08 04:02:43.000000000 -0400
+++ libstdc++-v3/configure	2008-09-19 07:21:01.000000000 -0400
@@ -40089,7 +40089,7 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #include <pthread.h>
-		__thread int a;
+		__thread int a __attribute__((tls_model ("local-exec")));
 		static int *a_in_other_thread;
 		static void *
 		thread_func (void *arg)