From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26435 invoked by alias); 20 Nov 2003 09:36:52 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 26428 invoked from network); 20 Nov 2003 09:36:51 -0000 Received: from unknown (HELO fep04-svc.swip.net) (130.244.199.132) by sources.redhat.com with SMTP; 20 Nov 2003 09:36:51 -0000 Received: from mta-int.swip.net ([192.168.145.29]) by fep04-svc.swip.net with SMTP id <20031120093650.TQZT1249.fep04-svc.swip.net@mta-int.swip.net> for ; Thu, 20 Nov 2003 10:36:50 +0100 X-Originating-IP: [192.106.52.2] From: To: gcc-help@gcc.gnu.org Subject: Is __thread keyword for ppc supported? Date: Thu, 20 Nov 2003 09:36:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=8859_1 Content-Transfer-Encoding: 7bit Message-Id: <20031120093650.TQZT1249.fep04-svc.swip.net@mta-int.swip.net> X-SW-Source: 2003-11/txt/msg00264.txt.bz2 Hi all, I'm trying to compile a powerpc version (MPC 8260) version of the glibc 2.3.2 using a gcc 3.3 cross compiler with nptl library enabled. When I run the configure for the glibc, the config process complains "compiler support for __thread is required". However I cannot find a way to enable this suport within my cross compiler version of gcc. This is a snipet of the code that cause the problem > cat test.c __thread int a = 42; > powerpc-linux-gcc -c test.c test.c:1: error: thread-local storage not supported for this target Is Thread local storage supported for powerpc? What should I do to enable it? Thanks Lapo ------------------------------------------------- WebMail Tele2 http://www.tele2.it -------------------------------------------------