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 36DB61381F3 for ; Sun, 25 Aug 2013 21:56:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD458E0CAD; Sun, 25 Aug 2013 21:56:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C4FDE0C76 for ; Sun, 25 Aug 2013 21:56:08 +0000 (UTC) Received: from [192.168.178.22] (pD9E9FC2E.dip0.t-ipconnect.de [217.233.252.46]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: tommy) by smtp.gentoo.org (Postfix) with ESMTPSA id DB4A833DAC6 for ; Sun, 25 Aug 2013 21:56:07 +0000 (UTC) Message-ID: <521A7D6F.8000500@gentoo.org> Date: Sun, 25 Aug 2013 23:55:59 +0200 From: Thomas Sachau User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 SeaMonkey/2.20 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: Re: [gentoo-dev] [PATCH] multilib eclass support for building binaries for none-default ABI References: <521A0A52.6000308@gentoo.org> <21018.4483.127950.569766@a1i15.kph.uni-mainz.de> <521A5C31.6080704@gentoo.org> <20130825221748.424d6b43@gentoo.org> In-Reply-To: <20130825221748.424d6b43@gentoo.org> X-Enigmail-Version: 1.5.2 OpenPGP: id=211CA2D4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2PgmL7IKbKcHQsWX3t6FUWnW2WSGkwOqc" X-Archives-Salt: de123390-b907-45d3-9d74-1db1d415f8ca X-Archives-Hash: b8eaf997594d38fff399b050ef8341f8 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --2PgmL7IKbKcHQsWX3t6FUWnW2WSGkwOqc Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Micha=C5=82 G=C3=B3rny schrieb: > Dnia 2013-08-25, o godz. 21:34:09 > Thomas Sachau napisa=C5=82(a): >=20 >> Ulrich Mueller schrieb: >>>>>>>> On Sun, 25 Aug 2013, Thomas Sachau wrote: >>> >>>> workaround: add a variable, which changes the return of the function= >>>> checking for the current ABI (always true with variable, without >>>> only true, when $ABI =3D=3D $DEFAULT_ABI) >>> >>> Would this variable be set by the user, in profiles, or in ebuilds? >> >> This variable can be set by users and profiles, when they want binarie= s >> for a different ABI (e.g. 64bit toolchain with 32bit userland). >=20 > Where it simply won't work since executables for the native ABI will > overwrite earlier ones. >=20 You obviously dont read my complete mails, otherwise you would have seen my later example, which works perfectly fine, once this patch applied: For the complete userland, set ABI_X86=3D32, so no 64bit target, no executables for the native ABI, nothing overwriting the 32bit binaries =3D> it works. Of course, if there are further issues with the ebuilds (like only parts of the dependencies converted with those needed for the binaries left out), it may cause issues with the current situation of the eclass and ebuild, but will again allow users of multilib-portage to do exactly, what i described, since they already are able to build the dependencies for their target ABI. :-) --=20 Thomas Sachau Gentoo Linux Developer --2PgmL7IKbKcHQsWX3t6FUWnW2WSGkwOqc Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.21 (GNU/Linux) Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iJwEAQECAAYFAlIafXUACgkQG7kqcTWJkGeBYQQA0L0NIxtcfVW84QrLjiUKDdpF e2WDpC+lkSV/fDs9359SeHn5R1o3dGLA1hOXFu2Y3+Wq7+/hRKzqUrOvrLIOeEx5 1KifFGF0LIi/pXEV+nLb8N4YyUytRb3JYxMTtBYZdzF67zgTw6Dzfw3ZEsve9CeX nOcn7LCXA9TJJ6894bo= =ReQh -----END PGP SIGNATURE----- --2PgmL7IKbKcHQsWX3t6FUWnW2WSGkwOqc--