On Tue September 19 2006 08:00, Chuck wrote: > 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 >
If 32-bit emulation is enabled, it should be just fine. You still haven't mentioned the processor type, but if 32-bit code will run on the host, then 32-bit code will run in the guest. > 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. > You probably should not share the same copy of glibc host & guest. It is always a "good idea" for glibc to be built with the same compiler as the rest of userland code. Running a different glibc in a vserver is not a problem, vservers are good at doing things like that. Mike _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
