From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 42DBD1387FD for ; Wed, 26 Mar 2014 16:13:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE6B2E084C; Wed, 26 Mar 2014 16:13:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 420F3E079B for ; Wed, 26 Mar 2014 16:12:58 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 5979B33FC0C for ; Wed, 26 Mar 2014 16:12:57 +0000 (UTC) From: Mike Frysinger To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: crossdev and multilib interference Date: Wed, 26 Mar 2014 12:12:59 -0400 Message-ID: <1660834.UE1ARX9orZ@vapier> Organization: wh0rd.org User-Agent: KMail/4.12.3 (Linux/3.13.0; KDE/4.12.3; x86_64; ; ) In-Reply-To: <20140326122529.GA19156@rathaus.eclipse.co.uk> References: <53208139.2040509@gentoo.org> <1655097.HpObVGm6RL@vapier> <20140326122529.GA19156@rathaus.eclipse.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2816296.VQehGZ1x3J"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-Archives-Salt: 72fcb088-7907-407a-ba3a-1ba674807589 X-Archives-Hash: 9bad5cdcdaa63cd7dca533ea387250c5 --nextPart2816296.VQehGZ1x3J Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" On Wed 26 Mar 2014 12:25:29 Steven J. Long wrote: > Mike Frysinger wrote: > > Greg Turner wrote: > > > As for how to fix it, if foo-bar-baz-quux crossdev targets are at= > > > ${EROOT}/usr/foo-bar-baz-quux, putting wrappers in > > > ${EROOT}/usr/foo-bar-baz-quux/cross-wrappers, or something like t= hat, > > > seems perfectly reasonable... heck, pure speculation, but it migh= t > > > even noticeably speed up day-to-day $PATH searching on systems wi= th > > > lots of crossdev targets installed. > >=20 > > if they're in $PATH, then the exact location is irrelevant. > > they need not be in /usr/bin to cause a problem. > > if they're not in $PATH, then you're breaking the cross-compilers > > and that is unacceptable. >=20 > Cross-compilation should be supported via cross-emerge, and perhaps a= small > script the cross-compiler sources to setup the env (ie prefix to PATH= in > this case) for using CHOST-* tools, like x86-pc-linux-gnu-gcc targett= ing > a straight x86 platform, instead of the normal multilib setup. The > latter being used by the former (I'd have thought it was already done= .) >=20 > The cross tools should NOT pollute the default PATH, simply because t= he > user happened to run crossdev at some point. It's *borked*, plain and= > simple, so fix it please or expect people to come up with other solut= ions > [1]; fragmenting the effort, and making cross-compilers lives harder,= as > we try to blend together a working solution from various efforts. The= > exact thing crossdev is supposed to answer. that's bs. people install crossdev to get a cross-compile environment,= not to=20 get something that only works through `emerge`. attempting to restrict= it so=20 it only works through `emerge` is unacceptable and it has never been th= at way. =2Dmike --nextPart2816296.VQehGZ1x3J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJTMvyLAAoJEEFjO5/oN/WBl0MQALsa58UksurxBu02MdqFzC7r s77dcd224CR8M6BdYN49RkSJPjglRN1h9w/dX8/d/Pd0tVDe0WbWXflo3go57/V2 7QoMvRhZrB8tPqcqA4br057KqI+STDrMlVVPgDgfHiCCzjKtzl8TT2NrQw6uq30n pxfjoa9OhIH9NUBxe6guvghnzqNT1Oy86uKcuyzJrYS+JdFSBQwVSPzSMxoEk8rg N7dZuDRDSG8Hxkp9ckGxtFdY4l2LbYXvz5REbkSE77b5rL0m9hgylP2j7jknWflr XbRdPgNejmHN6HkHD0hQ2lgPZjhOwu8eGvUnl21yPAX3bPP96IYRtx4CPMnZfQoH 4xH7wISe00fWPvJ+o8aJG83bWzVM8hH7Ky3vKQFL+Z3UJCWedGmL+2SNrKrqXXgH btaPmcvMmzmAhl/blQcsVtWha83L4q4yHbPh7J2rYbuIWq3FYLhd3r/XW3jhPdEh SRsKiJf7FUjLbLlpzJ670g54xqaHunBWTlbGgAQExe3TIYkmennRHHs0orJ3CtQS 4KaLwKZTdJnrMgSK+KzUQRDo+zHXYkyYWcZlpgUwc/eQIMAJV9HlFp6/RuKMHZp4 gBVZ6R2KEDP+DJTFq7Q3gUXfP2/nDkakPWn4h3LOs1ScHgwisbSaqMS21dJDE9zF 3Tjiebd91CrIaQK/92JW =apnT -----END PGP SIGNATURE----- --nextPart2816296.VQehGZ1x3J--