Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-embedded
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-embedded@g.o
From: Thomas Drueke <tdrueke@...>
Subject: crossdev problem
Date: Sat, 10 Sep 2011 18:01:10 +0200

recently I tried to use crossdev to build a toolchain for
The build fails for glibc with

     * Messages for package
     * Could not find a gcc that supports the __thread directive!
     * Please update your binutils/gcc and try again.
     * ERROR: cross-armv7a-softfloat-linux-gnueabi/glibc-2.12.2 failed
(unpack phase):
     *   No __thread support in gcc!

What fails is a compilation test executed in

    /usr/portage/sys-libs/glibc/files/eblits/src_unpack.eblit - function
    -> /usr/portage/sys-libs/glibc/files/eblits/common.eblit - function
         -> /usr/portage/eclass/toolchain-funcs.eclass - function
"tc-has-tls" -> "tc-getCC"

I haven't found a log showing the outcome of the compilation making the
available information
restricted somehow.

I tried different approaches for crossdev starting with

    crossdev -t armv7a-softfloat-linux-gnueabi

then stated the versions of the host system on the command line:

    crossdev -t armv7a-softfloat-linux-gnueabi --g 4.4.5 --l 2.12.2 --k
2.6.39 --b 2.21.1

and browsed the web for a couple of suggested combinations. So far none
worked on my machine.

I wonder if ThreadLocalStorage is supported for ArmV7a or maybe I'm
missing an environment variable ?


Re: crossdev problem
-- Mike Frysinger
Lists: gentoo-embedded: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
GCC/LLVM-GCC targeting Darwin/OS X/iOS
Next by thread:
Re: crossdev problem
Previous by date:
GCC/LLVM-GCC targeting Darwin/OS X/iOS
Next by date:
Invitation to connect on LinkedIn

Updated Jun 25, 2012

Summary: Archive of the gentoo-embedded mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.