
It might be able to boot. I suggest you prepare a liveCD just in case (everybody loves systemrescueCD). If your system doesn't boot, you can just fire up the liveCD, set your make.conf to use -march=k8, reconfigure your kernel to optimize for your new CPU and finally recompile your stuff.However, will my new CPU be able to boot off my existing system, which was compiled for K7 architecture, not K8?
Nope. It'll stay i686 or whatever your CHOST indicates. (Note that you can't change your CHOST within a running system... well, you can, but it wouldn't workI suppose that latter on, one can recompile the whole system for K8 with -march=k8, but does that turn it automatically into a 64-bit system?
That isn't really possible, at least not gracefully. You would need a new installation with an amd64-tarball.I suppose that latter on, one can recompile the whole system for K8 with -march=k8, but does that turn it automatically into a 64-bit system?
According to the AMD64 FAQ, a completely new installation is necessary. That, and worrying about the 32-bit chroot, are the reasons I decided to just stick with 32-bit, since there's no reason to invest so much time for so little benefit.I suppose that latter on, one can recompile the whole system for K8 with -march=k8, but does that turn it automatically into a 64-bit system?
All K7 code will run on a K8 unmodified.acarstoiu wrote:I find myself in the same hypothetical situation.
For things to start working, namely the computer to boot, the kernel to start, possibly complaining about a few modules (not vital ones!), is it really necessary to touch the kernel configuration? Will not any K7-code run unmodified on a K8?
I suppose that latter on, one can recompile the whole system for K8 with -march=k8, but does that turn it automatically into a 64-bit system? I hope not. What is needed later on to gracefully switch to a 64-bit system?
Thanks.
I'm pretty sure emerge -e world is sufficient. This will emerge everything in system as well, because system is regarded to be a dependency of world. emerge -e system && emerge -e world will basically emerge system twice, wasting your precious time.By the way, what's the easiest way to do this? I think it's "emerge -e system && emerge -e world" but want to be sure before I break something.
/usr/src/linux/arch by default contains a folder for every architecture the sources can be compiled for, from alpha to xtensa, but both i686 and amd64 (the two most commonly used today) are referred to by their overall category, "x86".I have no idea why ia64 showed up.