From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OzBjl-0008Ee-PT for garchives@archives.gentoo.org; Fri, 24 Sep 2010 17:07:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1668DE0859 for ; Fri, 24 Sep 2010 17:07:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0AAEDE07C4 for ; Fri, 24 Sep 2010 16:59:09 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 7F2C61B405B; Fri, 24 Sep 2010 16:59:08 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: Joakim Tjernlund Subject: Re: [gentoo-embedded] crossdev-20100620 uses wrong gcc Date: Fri, 24 Sep 2010 12:58:40 -0400 User-Agent: KMail/1.13.5 (Linux/2.6.35.4; KDE/4.5.1; x86_64; ; ) Cc: gentoo-embedded@lists.gentoo.org References: <201009241030.37566.vapier@gentoo.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2128868.W6eYtAvZ1e"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201009241258.40931.vapier@gentoo.org> X-Archives-Salt: d8acf6c5-1566-4bf0-81a0-87c2b0271788 X-Archives-Hash: decf683a250c88328d2c44094fd3cb68 --nextPart2128868.W6eYtAvZ1e Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Friday, September 24, 2010 11:48:48 Joakim Tjernlund wrote: > Mike Frysinger wrote on 2010/09/24 16:30:35: > > On Friday, September 24, 2010 04:55:27 Joakim Tjernlund wrote: > > > Mike Frysinger wrote on 2010/09/24 04:33:05: > > > > On Thursday, September 23, 2010 10:37:47 Joakim Tjernlund wrote: > > > > > Trying to add support for e300c2 in glibc/ports I got another > > > > > error. when crossdev is building cross-glibc-headers it uses the > > > > > hosts gcc > > > >=20 > > > > > instead of the cross compiler and glibc configure fails: > > > > by design. look at toolchain-glibc_headers_compile() in > > > > gentoo-x86/sys- libs/glibc/files/eblits/src_compile.eblit. > > >=20 > > > hmm, if I were to guess one needs to add > > > libc_cv_cc_submachine=3Dxxx, possibly with xxx=3Dno > > > to toolchain-glibc_headers_compile() ? > >=20 > > you need to export the cache var to skip the sanity checks, not the > > "force a specific machine type" >=20 > yeah, that was what I did(export libc_cv_cc_submachine=3D"-mcpu=3De300c2") >=20 > I was aiming for a more general solution, but I can't find one short of > actually use the cross compiler. general solution would be to introduce a "headers" configure option to glib= c=20 to tell it to skip all the useless compiler checks =2Dmike --nextPart2128868.W6eYtAvZ1e Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iQIcBAABAgAGBQJMnNjAAAoJEEFjO5/oN/WB2B4P/07VCVFhiH7TlI7Mfade/H/0 qTPEG+/7wo40Upp6/rr4BPVX+KkZYt8Ktr1/ws6hclFroMC9bM5JGohQowNehG+F 2B5YIZryB9K3dQ6ZyvACey71IYniZduK5xYRhJm+3nNMt4KyoTxcyFRmEZA/DDA9 up3F2ZrmP4mJize134tKO8UnIDUUheoltQlLVtkNhYJ3eDDEoLglnqv5XRlrh4z+ 7BzopIRp/al6ct4sM6NY7QW48+8EJK0Mkfm5BAgnfS+NP+QDL3tYZVBuL96CazUW Xt+VsUZh/aaW4GpCt3S2Y8dPfzChiBXJiDR+jstwtvVJHCY+L0lc8PVBa9L6WEQ0 bzcvleVbwjvCO/a8uENE+ucY95dGi0pu3/3Pvrs3z46QgqOLhKwywKWgfOUIEpmG jebwhkXAL973Qvt1biIU/bybS+fFwhmd2pUfTPpzzz6/TV/EFNeHzCTbvlgggGTC SpB5XInH8tOWF3jI3cN7bgvgSNIclRd16DwHXPAdEzn7i8K2E7YNinqqRd4w9kG6 Fj/BSJW1XxN98SQCjpRlZSkc114e8WwiXi9/FENgpQh8NBBJRPAwnjn5hKGZVVl7 P9ZATskNQ+2NgIJo/VH+ZN8ICRGZI/HkWmnQm/9bwL73Rtk6fG/Pi56mKGyk8jj1 rRljDV6gf27vua4SU6GT =5wfu -----END PGP SIGNATURE----- --nextPart2128868.W6eYtAvZ1e--