From 35281724cae49a338784c24f9ef1f489271f553e Mon Sep 17 00:00:00 2001 From: Paolo Molaro Date: Tue, 11 Sep 2007 19:48:16 +0000 Subject: [PATCH] workaround for gcc bug showing up on the buildbot. svn path=/trunk/mono/; revision=85654 --- pthread_support.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pthread_support.c b/pthread_support.c index 070eb821..6306f2cd 100644 --- a/pthread_support.c +++ b/pthread_support.c @@ -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 -- 2.40.0