Re: [Vserver] mixed gcc versions

From: Chuck <chuck_at_sbbsnet.net>
Date: Tue 19 Sep 2006 - 14:00:17 BST
Message-Id: <200609190900.17847.chuck@sbbsnet.net>

On Tuesday 19 September 2006 08:50, Michael S. Zick wrote:
> On Tue September 19 2006 07:16, Chuck wrote:
> > will a 32 bit guest compiled under gcc 3.4.6 run properly under a 64 bit
host
> > compiled using gcc 4.1.1?
> >
> > not positive of what is compatible and what is not.
> >
> > unfortunately i have not found a centos guest template done under 4.1.1
> >
> > have not looked yet at the centos64 to see if that is under 4.1.1
> >
>
> Only the kernel is common between host and guest.
>
> Which means host and guest software needs to be built against
> the same (or compatible) kernel headers.
>
> Plus the consideration that your question implies - the kernel
> when compiled for 64-bit must still support 32-bit code.
>
> Not all brands of machine will support mixed size code.
> For instance, Linux on pa-risc does not have a 64-bit userland,
> regardless of the kernel being compiled for either 32-bit or 64-bit.
>

it would be a gentoo 64 bit host with 32bit emu enabled and a 32 bit or even
possibly the 64bit centos guest.. all gentoo guests will be 64bit gcc 4.1.1

i am just concerned about the centos since thats binary distribution.

> Mike
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Sep 19 14:01:58 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 19 Sep 2006 - 14:02:03 BST by hypermail 2.1.8