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 1MxQu6-0007sq-AL for garchives@archives.gentoo.org; Mon, 12 Oct 2009 19:49:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46CABE092E; Mon, 12 Oct 2009 19:49:57 +0000 (UTC) Received: from tommyserver.de (unknown [85.14.198.50]) by pigeon.gentoo.org (Postfix) with ESMTP id D66FAE092E for ; Mon, 12 Oct 2009 19:49:56 +0000 (UTC) Received: from [192.168.178.22] (Q5ec8.q.pppool.de [89.53.94.200]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tommyserver.de (Postfix) with ESMTPSA id 0AA95410772; Mon, 12 Oct 2009 21:49:56 +0200 (CEST) Message-ID: <4AD3885C.3090403@gentoo.org> Date: Mon, 12 Oct 2009 21:49:48 +0200 From: Thomas Sachau 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 CC: vapier@gentoo.org Subject: Re: [gentoo-dev] Support for multiple ABIs for amd64 (64bit,32bit) in multilib overlay References: <4A87FD91.20406@gentoo.org> <200910111716.22190.vapier@gentoo.org> In-Reply-To: <200910111716.22190.vapier@gentoo.org> X-Enigmail-Version: 0.95.7 OpenPGP: id=211CA2D4 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig8A5358CE1B3FA26F1C2D1A16" X-Archives-Salt: 573bbd86-84c4-4115-afa8-9da04894e4d6 X-Archives-Hash: 9b89064c248dd2639501a3a8140b7474 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A5358CE1B3FA26F1C2D1A16 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mike Frysinger schrieb: > On Sunday 16 August 2009 08:37:37 Thomas Sachau wrote: >> -for the portage version: It is also in the multilib overlay, but in a= >> different branch called portage-multilib. To use this, you should rea= d the >> instructions at [1] (doc/portage-multilib-instructions). This one sho= uld >> also mainly work, but there is probably a good amount of packages in = the >> main tree, which may refuse to work with it. >=20 > the abi-wrapper doesnt look terribly appealing. why dont we use broken= /custom=20 > -config handling as incentive to convert packages to .pc files. pkg-co= nfig=20 > handles ABI/cross-compile splitting cleanly and transparently. I am totally unfamiliar with pkg-config, so that would take some time or = a helping hand. > bash-4 is stable, so we could start depending on it. It still has 3 unstable KEYWORDS including mips. > you dont save/restore CPPFLAGS Are there any initial values it should get? > is there documentation that covers the proposed changes/design to porta= ge ? =20 > i'm not looking for high level (it runs src_compile twice). i dont rec= all=20 > seeing details posted to the portage or gentoo mailing lists ... it's = hard to=20 > review `git diff portage-svn..master`. > -mike There is currently no documentation for the actual code version. In short, there are those changes: 1. ability to run phases multiple times in ebuild.sh: change from =2E.. dyn_unpack() src_unpack dyn_compile() src_compile dyn_install() src_install =2E.. to basicly =2E.. dyn_unpack() for each ABI call set_abi create ABI workdir set ABI envronment variables call src_unpack dyn_compile() for each ABI call set_abi use workdir for current ABI set ABI environment variables call src_compile dyn_install() for each ABI call set_abi use workdir for current ABI set ABI environment variables call src_install call _finalize_abi_install create gentoo-multilib headers (if needed) =2E.. 2. Adding the internal lib32 useflag and usedeps with some workarounds 3. Added bin/auto-multilib.sh, which contains most functions, merged toge= ther from the older version kanaka presented ( =3D> http://dev.gentoo.org/~kanaka/auto-multilib/) and= the multilib-native.eclass from master branch of multilib overlay. --=20 Thomas Sachau Gentoo Linux Developer --------------enig8A5358CE1B3FA26F1C2D1A16 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.13 (GNU/Linux) iJwEAQEKAAYFAkrTiGIACgkQG7kqcTWJkGfxGgQAqFMOaNcSIOMPSV1QaOy3cffx copRVsUbzxvxgz+vQ4a7fUo5DuelblVdixmkrf2H1otJ72Kdq7JPbXeCz0r+UgXB DYXaF+BC5hzFXH8WLJD/BTDhtgBFq5eChHbomLy6rrL+aY9gcCiu7V+En/OpoNMN yKssBGTkJa8lmxwPyg0= =5D1e -----END PGP SIGNATURE----- --------------enig8A5358CE1B3FA26F1C2D1A16--