1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Mike Frysinger wrote: |
5 |
> On Wednesday 19 April 2006 10:38, Jan Girlich wrote: |
6 |
> |
7 |
>>crossdev stops at glibc because it can't find the kernel-headers/thinks |
8 |
>>the kernel-headers are too old, which is not right (just an |
9 |
>>interpretation, have a look at the attached log-files). |
10 |
> |
11 |
> only glibc-2.4-r2 will work at this point in time due to all the sysroot |
12 |
> changes in toolchain related ebuilds |
13 |
> -mike |
14 |
|
15 |
I can't compile glibc-2.4-r1. It complains about missing __target |
16 |
support in gcc. I don't know what this is about but recompiled my host's |
17 |
glibc with nptl and nptlonly and made a revdep-rebuild. Still the same |
18 |
problem. |
19 |
|
20 |
|
21 |
>>> md5 files ;-) files/2.3.4/glibc-2.3.4-mips-prot_grows-undefine>>> |
22 |
Unpacking source... |
23 |
|
24 |
^[[32;01m*^[[0m Checking gcc for __thread support ... no |
25 |
|
26 |
^[[31;01m*^[[0m Could not find a gcc that supports the __thread directive! |
27 |
^[[31;01m*^[[0m please update to gcc-3.2.2-r1 or later, and try again. |
28 |
|
29 |
!!! ERROR: cross-armeb-softfloat-linux-gnu/glibc-2.4-r1 failed. |
30 |
!!! Function check_nptl_support, Line 772, Exitcode 0 |
31 |
!!! No __thread support in gcc! |
32 |
!!! If you need support, post the topmost build error, NOT this status |
33 |
message. |
34 |
|
35 |
The forum and bugzilla didn't give me much usable hints. Or I didn't |
36 |
search in the right way. |
37 |
|
38 |
gcc-config is up to date. |
39 |
|
40 |
thinkpad ~ # LANG="C" armeb-softfloat-linux-gnu-gcc -c |
41 |
/usr/portage/sys-libs/glibc/files/test-__thread.c |
42 |
/usr/portage/sys-libs/glibc/files/test-__thread.c:1: error: thread-local |
43 |
storage not supported for this target |
44 |
|
45 |
I found this information. Is it still accurate for glibc-2.3.6? And how |
46 |
to deal with this? I can't overview the impact of this for my goal to |
47 |
create an armeb-softfloat-linux-gnu toolchain. |
48 |
|
49 |
"Since version 2.3.5, the glibc is built with TLS support on all |
50 |
platforms which support it, unless it is explicitely disabled. |
51 |
|
52 |
Therefore the code you have given in example will work correctly on the |
53 |
following platforms: alpha, amd64, i386, ia64, powerpc, s390, sparc. |
54 |
|
55 |
On arm, m68k, hppa, mips and mipsel, you will get the following message: |
56 |
error: thread-local storage not supported for this target" |
57 |
|
58 |
TIA |
59 |
Jan |
60 |
-----BEGIN PGP SIGNATURE----- |
61 |
Version: GnuPG v1.4.2.2 (GNU/Linux) |
62 |
|
63 |
iD8DBQFERsDEvuM9o4Jvd/8RAg0rAJ0d6kY8T9DrB8cqxMgBlUT52xT/nwCfY39f |
64 |
Ib2mptTF5iqfv6qhFOZSTGg= |
65 |
=csIS |
66 |
-----END PGP SIGNATURE----- |
67 |
-- |
68 |
gentoo-embedded@g.o mailing list |