Gentoo Archives: gentoo-embedded

From: Thomas Drueke <tdrueke@×××.net>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] crossdev problem
Date: Sat, 10 Sep 2011 16:02:34
Message-Id: 4E6B89C6.4040505@gmx.net
1 Hi,
2
3 recently I tried to use crossdev to build a toolchain for
4 "armv7a-softfloat-linux-gnueabi".
5 The build fails for glibc with
6
7 * Messages for package
8 cross-armv7a-softfloat-linux-gnueabi/glibc-2.12.2:
9 * Could not find a gcc that supports the __thread directive!
10 * Please update your binutils/gcc and try again.
11 * ERROR: cross-armv7a-softfloat-linux-gnueabi/glibc-2.12.2 failed
12 (unpack phase):
13 * No __thread support in gcc!
14
15 What fails is a compilation test executed in
16
17 /usr/portage/sys-libs/glibc/files/eblits/src_unpack.eblit - function
18 "check_nptl_support".
19 -> /usr/portage/sys-libs/glibc/files/eblits/common.eblit - function
20 "want__thread"
21 -> /usr/portage/eclass/toolchain-funcs.eclass - function
22 "tc-has-tls" -> "tc-getCC"
23
24 I haven't found a log showing the outcome of the compilation making the
25 available information
26 restricted somehow.
27
28 I tried different approaches for crossdev starting with
29
30 crossdev -t armv7a-softfloat-linux-gnueabi
31
32 then stated the versions of the host system on the command line:
33
34 crossdev -t armv7a-softfloat-linux-gnueabi --g 4.4.5 --l 2.12.2 --k
35 2.6.39 --b 2.21.1
36
37 and browsed the web for a couple of suggested combinations. So far none
38 worked on my machine.
39
40 I wonder if ThreadLocalStorage is supported for ArmV7a or maybe I'm
41 missing an environment variable ?
42
43 Regards,
44 Thomas

Replies

Subject Author
Re: [gentoo-embedded] crossdev problem Mike Frysinger <vapier@g.o>