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 92AA513877A for ; Fri, 20 Jun 2014 20:11:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2A80EE09F3; Fri, 20 Jun 2014 20:11:11 +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 39D96E09DE for ; Fri, 20 Jun 2014 20:11:10 +0000 (UTC) Received: from [192.168.1.130] (CPE002401f30b73-CM78cd8ec1b205.cpe.net.cable.rogers.com [99.224.181.112]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: axs) by smtp.gentoo.org (Postfix) with ESMTPSA id BDF8C3400D6 for ; Fri, 20 Jun 2014 20:11:08 +0000 (UTC) Message-ID: <53A4954E.20002@gentoo.org> Date: Fri, 20 Jun 2014 16:10:54 -0400 From: Ian Stakenvicius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 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 To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: crossdev and multilib interference References: <539F5288.1000000@gentoo.org> <539F5AB5.7000006@gentoo.org> <539F6B3C.7030807@gentoo.org> <539F8000.5080804@gentoo.org> <539F9E41.9050505@gentoo.org> <539FA536.3010401@gentoo.org> <53A034F4.2000900@gentoo.org> <53A04DF6.6050407@gentoo.org> <1403017001.11300.1.camel@rook> <20140619212023.GC4582@rathaus.eclipse.co.uk> In-Reply-To: <20140619212023.GC4582@rathaus.eclipse.co.uk> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 0e2aef0b-06e2-4ac7-b297-6b776e0a4b95 X-Archives-Hash: 43a038f7605671f3510215cdc205c875 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 19/06/14 05:20 PM, Steven J. Long wrote: > On Tue, Jun 17, 2014 at 10:56 -0400, Alexandre Rostovtsev wrote: >> All multilib packages that use pkgconfig, for one thing. (Which >> means almost all multilib packages.) Because current crossdev >> versions blindly install their >> /usr/bin/i686-pc-linux-gnu-pkg-config wrapper script, overwriting >> the binary belonging to pkgconfig[abi_x86_32]. > > Well I've spent far too long at crossdev code, only to see this and > realise you can simply hard-mask: > cross-i686-pc-linux-gnu/{binutils,gcc,glibc,pkg-config} in the > amd64 multilib profile, unless I'm missing something. You'd be > hard-pushed to install a clashing crossdev with such a mask, > afaict. > > If you do want to change crossdev[1], afaict you're looking at > interaction between toolchain.eclass (and toolchain-binutils, and > likely -funcs), crossdev and gcc-config. I could well be wrong, as > ever. This is just my preliminary understanding, and maybe it'll > provoke a more thorough explanation. [ Snip! ] Thank you for the explanation and research! Tangental to this, mgorny wrote a little tool yesterday that might work well as an alternative to crossdev for multilib systems. It simply wraps all the native toolchain calls with proper -m and provides the new CTARGETs. If anybody wants to take a look, this is the link he posted on -dev : http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=blob;f=sys-devel/multilib-gcc-wrapper/multilib-gcc-wrapper-0.ebuild;h=3e304313c0812ffc7da79603e38979fc81a83081;hb=HEAD Whether or not this suits everyone's needs for an i686 crossdev on amd64 systems, i don't know. Thoughts? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlOklU4ACgkQ2ugaI38ACPBBawD/aRIYx3q5RcSom87YWKCUf6SL jXyavRbB1g5hP8S6B1wBAMBYvZABlKiZckvZYnIQfgsaNkuW1EoPGC5nwkq1Nl24 =3JNA -----END PGP SIGNATURE-----