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.77) (envelope-from ) id 1SlIMA-0005Ph-Ni for garchives@archives.gentoo.org; Sun, 01 Jul 2012 11:30:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01C0BE076C; Sun, 1 Jul 2012 11:30:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 42FBCE06C8 for ; Sun, 1 Jul 2012 11:29:16 +0000 (UTC) Received: from [192.168.178.22] (p548D2EC4.dip.t-dialin.net [84.141.46.196]) (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 EA0A21B4092 for ; Sun, 1 Jul 2012 11:29:14 +0000 (UTC) Message-ID: <4FF03486.9020607@gentoo.org> Date: Sun, 01 Jul 2012 13:29:10 +0200 From: Thomas Sachau User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120629 Firefox/13.0.1 SeaMonkey/2.10.1 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: GLEP draf for cross-compile support in multilib profiles References: <4FDC608C.8010708@gentoo.org> <4FDDC752.3080506@gentoo.org> <4FE0C207.6070302@gentoo.org> <20120619191644.7908fb03@googlemail.com> <4FE0CACF.4000401@gentoo.org> <20120619203602.GC4424@localhost> <4FEDBC23.70202@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.4.2 OpenPGP: id=211CA2D4 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig95A720C49A57106E4C6799BA" X-Archives-Salt: 91d54e78-cb1d-4e20-939a-6b8d37ca41a0 X-Archives-Hash: f6e098e9039b209ded302b68acef0350 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig95A720C49A57106E4C6799BA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Matt Turner schrieb: > On Fri, Jun 29, 2012 at 10:30 AM, Thomas Sachau wrot= e: >> >=20 > I'm interested in this because I'm regularly annoyed with the emul- > packages and also because multilib is pretty important for mips. >=20 >> If a package has dependencies, then those dependencies are required to= have >> at least the same targets enabled as the package >=20 > That seems like the obvious (but perhaps naive) choice. What about > depending on packages that don't install libraries, like x11-proto/ > packages or generators like dev-util/indent? >=20 > Maybe I just don't understand. Would these packages even have ABI flags= ? All packages do get the ABI flags (with the needed EAPI or via enabled portage feature, which is currently in the multilib branch). If a package does not install anything ABI-specific (no headers, no libs and no binaries), then there is no overhead, since it will just get compiled/installed for one ABI, even if multiple ABI flags are enabled. >=20 > It's clear to me that libraries would be installed in different lib* > directories dependent on their ABI, but how would typical executables > be handled? By default, only the binaries for the first enabled ABI are preserved (which usually is the default ABI). If you enable the abiwrapper USE flag, the binaries for all target ABIs are preserved, installed in the form of $binary-$ABI and $binary will be a symlink to a wrapper, which calls the right binary for the currently selected ABI. >=20 > For mips, we'd like to have gcc built as an n64 binary, which would > require its run-time dependencies (mpfr, mpc, gmp, etc.) to be > available as n64 as well, but the rest of the system to be n32 > binaries. Does this fit with your understanding (and proposed > solution) of the problem? I guess, you require additional n64 libs for gcc dependencies like mpfr, mpc and others, while your default ABI will be n32. This should work fine with my proposal, you just have the (already default enabled) n32 ABI flag enabled, which results in everything being built just for n32. For the packages, where you require additional n64 libs, you just enable the n64 ABI flag in addition. And if you need n64 binaries too, you enable the abiwrapper USE flag for them. --=20 Thomas Sachau Gentoo Linux Developer --------------enig95A720C49A57106E4C6799BA 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.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iJwEAQECAAYFAk/wNIYACgkQG7kqcTWJkGfjVQQAzVcM3xqtVfu21zLhWH1MSH2z UhWwEWyH05y1ZVgguxyNmTrlE8odoyP/FZvx129YTkk+jkfCA07tm6z3+39TntV1 t48NHZEGdK+d49HgVRXwUCf/iZonfYKFP84H2m4VUWp0wDpD39MDr38eFKbKCY+K ef99Z0bgvPGc0oCAfuI= =+eqe -----END PGP SIGNATURE----- --------------enig95A720C49A57106E4C6799BA--