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

Mike Frysinger vapier@gentoo.org
Wed Nov 9 17:30:00 GMT 2005


On Wed, Nov 09, 2005 at 10:40:53AM -0500, Robert P. J. Day wrote:
> On Wed, 9 Nov 2005, Mike Frysinger wrote:
> 
> > host toolchain doesnt really matter in general ... my question was
> > about the version of gcc you're using for the target
> 
> all the latest stuff, including gcc-4.0.2.

well i just emerged a linuxthreads toolchain for sh4 (you can ignore the -r#):
binutils-2.16.1
gcc-3.4.4-r1
glibc-2.3.5-r3
linux-headers-2.6.11-r2

it passes the thread test:
$ sh4-unknown-linux-gnu-gcc -c test-__thread.c
$ file test-__thread.o
test-__thread.o: ELF 32-bit LSB relocatable, Hitachi SH, version 1 MathCoPro/FPU/MAU Required (SYSV), not stripped

i'll rebuild it for nptl now and report back
-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



More information about the crossgcc mailing list