workaround for gcc bug showing up on the buildbot.
authorPaolo Molaro <lupus@oddwiz.org>
Tue, 11 Sep 2007 19:48:16 +0000 (19:48 -0000)
committerPaolo Molaro <lupus@oddwiz.org>
Tue, 11 Sep 2007 19:48:16 +0000 (19:48 -0000)
svn path=/trunk/mono/; revision=85654

libgc/pthread_support.c

index 070eb821125614af71ea844a3530fa043fd5e73d..6306f2cd0ceb244d445e0701e0d8ca2ef01bf71b 100644 (file)
@@ -191,6 +191,13 @@ static
 GC_key_t GC_thread_key;
 
 #ifdef USE_COMPILER_TLS
+/*
+ * gcc errors out with /tmp/ccdPMFuq.s:2994: Error: symbol `.LTLS4' is already defined
+ * if the static is removed on ppc.
+ */
+#if defined(__ppc__) || defined(__powerpc__)
+static
+#endif
 __thread MONO_TLS_FAST void* GC_thread_tls;
 #endif