Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Mike Frysinger <vapier@g.o>
Subject: Re: {bi,multi}arch support for all x86/amd64/ppc/sparc systems
Date: Fri, 27 Jan 2012 16:00:15 -0500
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:
signature.asc (This is a digitally signed message part.)
References:
{bi,multi}arch support for all x86/amd64/ppc/sparc systems
-- Mike Frysinger
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: {bi,multi}arch support for all x86/amd64/ppc/sparc systems
Next by thread:
Last rites: x11-libs/qt
Previous by date:
Re: Can we get PIE on all SUID binaries by default, por favor?
Next by date:
Re: Can we get PIE on all SUID binaries by default, por favor?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.