From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FWLe8-00061Q-Rv for garchives@archives.gentoo.org; Wed, 19 Apr 2006 22:59:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k3JMxmue032064; Wed, 19 Apr 2006 22:59:48 GMT Received: from mout2.freenet.de (mout2.freenet.de [194.97.50.155]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k3JMxmTh006600 for ; Wed, 19 Apr 2006 22:59:48 GMT Received: from [194.97.55.192] (helo=mx8.freenet.de) by mout2.freenet.de with esmtpa (Exim 4.61) (envelope-from ) id 1FWLeF-0007H6-W8 for gentoo-embedded@lists.gentoo.org; Thu, 20 Apr 2006 00:59:48 +0200 Received: from c189038.adsl.hansenet.de ([213.39.189.38] helo=gentoo.treehouse.test) by mx8.freenet.de with esmtpa (ID vollkorn@freenet.de) (Exim 4.61-RC1 #1) id 1FWLeF-0005Vb-Rb for gentoo-embedded@lists.gentoo.org; Thu, 20 Apr 2006 00:59:47 +0200 Received: from localhost (localhost [127.0.0.1]) by gentoo.treehouse.test (Postfix) with ESMTP id F30233D4083; Thu, 20 Apr 2006 00:59:45 +0200 (CEST) Received: from gentoo.treehouse.test ([127.0.0.1]) by localhost (gentoo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02422-09; Thu, 20 Apr 2006 00:59:19 +0200 (CEST) Received: from [192.168.17.13] (unknown [192.168.17.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gentoo.treehouse.test (Postfix) with ESMTP id B42D73D4010; Thu, 20 Apr 2006 00:59:18 +0200 (CEST) Message-ID: <4446C0C4.6010308@freenet.de> Date: Thu, 20 Apr 2006 00:59:16 +0200 From: Jan Girlich User-Agent: Mozilla Thunderbird 1.0.7 (X11/20060118) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] crossdev - glibc can't find linux-headers References: <44464B7A.2020306@freenet.de> <200604191329.42395.vapier@gentoo.org> In-Reply-To: <200604191329.42395.vapier@gentoo.org> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=826F77FF Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at treehouse.test X-Archives-Salt: 06971e31-a044-4c2c-977d-587f8b17ff85 X-Archives-Hash: 18bf54f3d81333f49487b5040234b49d -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Frysinger wrote: > On Wednesday 19 April 2006 10:38, Jan Girlich wrote: > >>crossdev stops at glibc because it can't find the kernel-headers/thinks >>the kernel-headers are too old, which is not right (just an >>interpretation, have a look at the attached log-files). > > only glibc-2.4-r2 will work at this point in time due to all the sysroot > changes in toolchain related ebuilds > -mike I can't compile glibc-2.4-r1. It complains about missing __target support in gcc. I don't know what this is about but recompiled my host's glibc with nptl and nptlonly and made a revdep-rebuild. Still the same problem. >>> md5 files ;-) files/2.3.4/glibc-2.3.4-mips-prot_grows-undefine>>> Unpacking source... ^[[32;01m*^[[0m Checking gcc for __thread support ... no ^[[31;01m*^[[0m Could not find a gcc that supports the __thread directive! ^[[31;01m*^[[0m please update to gcc-3.2.2-r1 or later, and try again. !!! ERROR: cross-armeb-softfloat-linux-gnu/glibc-2.4-r1 failed. !!! Function check_nptl_support, Line 772, Exitcode 0 !!! No __thread support in gcc! !!! If you need support, post the topmost build error, NOT this status message. The forum and bugzilla didn't give me much usable hints. Or I didn't search in the right way. gcc-config is up to date. thinkpad ~ # LANG="C" armeb-softfloat-linux-gnu-gcc -c /usr/portage/sys-libs/glibc/files/test-__thread.c /usr/portage/sys-libs/glibc/files/test-__thread.c:1: error: thread-local storage not supported for this target I found this information. Is it still accurate for glibc-2.3.6? And how to deal with this? I can't overview the impact of this for my goal to create an armeb-softfloat-linux-gnu toolchain. "Since version 2.3.5, the glibc is built with TLS support on all platforms which support it, unless it is explicitely disabled. Therefore the code you have given in example will work correctly on the following platforms: alpha, amd64, i386, ia64, powerpc, s390, sparc. On arm, m68k, hppa, mips and mipsel, you will get the following message: error: thread-local storage not supported for this target" TIA Jan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFERsDEvuM9o4Jvd/8RAg0rAJ0d6kY8T9DrB8cqxMgBlUT52xT/nwCfY39f Ib2mptTF5iqfv6qhFOZSTGg= =csIS -----END PGP SIGNATURE----- -- gentoo-embedded@gentoo.org mailing list