public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: <lapo.pasqui@tele2.it>
To: gcc-help@gcc.gnu.org
Subject: Is __thread keyword for ppc supported?
Date: Thu, 20 Nov 2003 09:36:00 -0000	[thread overview]
Message-ID: <20031120093650.TQZT1249.fep04-svc.swip.net@mta-int.swip.net> (raw)

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
-------------------------------------------------

             reply	other threads:[~2003-11-20  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20  9:36 lapo.pasqui [this message]
2003-11-23  0:15 Dara Hazeghi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031120093650.TQZT1249.fep04-svc.swip.net@mta-int.swip.net \
    --to=lapo.pasqui@tele2.it \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).