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 12:28:43PM -0500, Robert P. J. Day wrote:
> On Wed, 9 Nov 2005, Mike Frysinger wrote:
> > i'll rebuild it for nptl now and report back
> 
> excellent.  thanks.

got same results when i emerged a sh4 ntpl toolchain
binutils-2.16.1
gcc-3.4.4-r1
glibc-2.3.5-r3
linux-headers-2.6.11-r2

$ sh4-unknown-linux-gnu-gcc -c test-__thread.c
$ sh4-unknown-linux-gnu-gcc -c test-__thread.c
test-__thread.o: ELF 32-bit LSB relocatable, Hitachi SH, version 1 MathCoPro/FPU/MAU Required (SYSV), not stripped
$ sh4-unknown-linux-gnu-gcc test-__thread.c -o test-__thread
$ file test-__thread
test-__thread: ELF 32-bit LSB executable, Hitachi SH, version 1 (SYSV), for GNU/Linux 2.6.6, dynamically linked (uses shared libs), for GNU/Linux 2.6.6, not stripped
$ strings /usr/sh4-unknown-linux-gnu/lib/libc.so.6
...
GNU C Library stable release version 2.3.5, by Roland McGrath et al.
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8).
Compiled on a Linux 2.6.11 system on 2005-11-09.
Available extensions:
    GNU libio by Per Bothner
    crypt add-on version 2.1 by Michael Glad and others
    Native POSIX Threads Library by Ulrich Drepper et al
    The C stubs add-on version 2.1.2.
    GNU Libidn by Simon Josefsson
    BIND-8.2.3-T5B
    NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
...

if you want, i can try it with gcc-4.0.2 ...
-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]