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 1RqsuC-0005bR-ND for garchives@archives.gentoo.org; Fri, 27 Jan 2012 21:00:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F539E07B9; Fri, 27 Jan 2012 21:00:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 53C92E079F for ; Fri, 27 Jan 2012 20:59:17 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id BD0121B400A for ; Fri, 27 Jan 2012 20:59:16 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] {bi,multi}arch support for all x86/amd64/ppc/sparc systems Date: Fri, 27 Jan 2012 16:00:15 -0500 User-Agent: KMail/1.13.7 (Linux/3.2.0; KDE/4.6.5; x86_64; ; ) References: <201112071715.48319.vapier@gentoo.org> In-Reply-To: <201112071715.48319.vapier@gentoo.org> 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="nextPart1371652.SlUkRIBsQ7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201201271600.15986.vapier@gentoo.org> X-Archives-Salt: 1a7e9ad2-572b-4f8f-8abb-deecb71f4af9 X-Archives-Hash: a75c93d2c289aceb6fb4e31c64626f4b --nextPart1371652.SlUkRIBsQ7 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wednesday 07 December 2011 17:15:47 Mike Frysinger wrote: > the advantage is that it should obsolete the separate kgcc64 package for > most people. and i think it might help out with the multilib bootstrap > issue: you can't build multilib gcc without a multilib glibc, and can't > build a multilib glibc without a multilib gcc, but i think you should be > able to build a multilib glibc with a multiarch gcc, and then a multilib > gcc after that. a followup: have glibc always install headers for all possible ABIs. this= =20 might sound like a lot, but in practice, it amounts to only a handful as gl= ibc=20 by default includes support for all ABIs in common headers. the most common example: - amd64 ABI has one unshared header: gnu/stubs-64.h - x86 ABI has three unshared headers: gnu/stubs-32.h sys/elf.h sys/vm86.h so the overhead we're talking about here is that nomultilib amd64 systems w= ill=20 have 3 additional headers installed, and nomultilib x86 systems will have o= ne=20 extra header. i suspect the overhead will be very similar for all arches. the reason for doing this is to try and make multilib migration simpler. w= ith=20 this change in place, you should be able to "upgrade" from a nomultilib amd= 64=20 profile to a multilib amd64 profile with: USE=3D'-*' emerge sys-devel/gcc emerge sys-libs/glibc emerge sys-devel/gcc still not as automatic as i'd like, but getting closer ... =2Dmike --nextPart1371652.SlUkRIBsQ7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPIxBfAAoJEEFjO5/oN/WBuaoP/i4q3PrneZ6EOnlRMOIe3XKQ 33fNSzHLJA43Tk4dYU1Foyngg0bYsfA5lTcM7piwCY7sQ0x0h2Dzd0FmtGxTENFo YJTCJZE5mgs5fPUgM7qLA+LpQpUZkJTxTb81QLBFt4Oq+NSCGtUedX0yyNSuMWnb NVS3XBInRc01QZ9KZV1SqNU+OORvQwEJgLYGcNSucYP8oHqAyLXKppzCG6ZVFyte mFa0sQtAWztyLutP6F57Iz7HElhnDdIMTos06emBX9WLTuzIZnHMSCLLq3TW/x2o AakBoHQzpdv0Ect4lciIcP1kbWaSb9iUxHzjKa7slXqbgH2Pgpvi57MLmuvy46pQ lhCgK33DCZQuR0qNC3N+iuCuUzTev33fk7d4G9Fme/hkZ+4puXq2TV9sIsauttV4 Bpfh2iWmyt4jkC8EF3qFXfHmAEm8IvDC9TvsyLSOz6TU7zjWp/2hBSESZgDGhQg3 Sczj4Kd8t2CuMYvagWBsDEjJwWRrKfO1h8Mj9k5ddAfhN32YzUAytrUaH3mExChf fwBiLmlnvXFpg92ubJwHy/DKUuVY1rXAYP+6HiKrqdU0h0pEL/FDRNEK/ol7eh/3 CzUaW0yUE63ggRGC1Oi2Q7xlmme41toRuLxl+lx/QjTRe27+hf8eStGe3kZnd2cN rJ87br+rWT0MhnUwQvZu =r+UL -----END PGP SIGNATURE----- --nextPart1371652.SlUkRIBsQ7--