This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: trying to understand why i don't have "__thread" support


On Wed, Nov 09, 2005 at 07:16:17AM -0500, Robert P. J. Day wrote:
> configure: error: compiler support for __thread is required
> 
>   ok, so what is this a symptom of?

what version of gcc are you using ?  does it support TLS for your target ?

> that i failed to configure thread support into the bootstrap gcc?

i doubt it ... i configure the first pass gcc in Gentoo with --disable-threads 
all the time and ive never hit this error when building nptl glibc unless the 
gcc version didnt support TLS for the target (for example, testing for 
__thread with mips and gcc-3.4.4 will fail since mips doesnt have TLS until 
like gcc-4.1+)

>   i'm about to dig into this but if someone knows offhand what the
> above represents, i'd love to hear it.  have i forgotten a bootstrap
> gcc configure or build option?

the only gcc configure option that'd affect this i think is the target name
-mike

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]