* Re: [gentoo-dev] {bi,multi}arch support for all x86/amd64/ppc/sparc systems
@ 2012-01-27 21:00 99% ` Mike Frysinger
0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2012-01-27 21:00 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: Text/Plain, Size: 1431 bytes --]
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
might sound like a lot, but in practice, it amounts to only a handful as glibc
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 will
have 3 additional headers installed, and nomultilib x86 systems will have one
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. with
this change in place, you should be able to "upgrade" from a nomultilib amd64
profile to a multilib amd64 profile with:
USE='-*' emerge sys-devel/gcc
emerge sys-libs/glibc
emerge sys-devel/gcc
still not as automatic as i'd like, but getting closer ...
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-12-07 22:15 [gentoo-dev] {bi,multi}arch support for all x86/amd64/ppc/sparc systems Mike Frysinger
2012-01-27 21:00 99% ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox