kimchi_sg wrote:Why is there such a need for this?
It makes sense to me, you want to upgrade to gcc 3.4.3, and recompile your programs with NPTL support. Besides thats really what this installation meathod is to begin with, a reinstallation.
southpaw wrote:Hmmm....
I guess my question is not a valid one.....
We'll I'll take a stab at it. Really, the stage 1 on stage 3 installation is exactly what you want to do, it's a reinstallation of Gentoo over an existing installation. You take a Stage 3 install, you recompile gcc, glibc....all the way up to recompiling your system. This is done to A) upgrade gcc to 3.4.3-r1 (no longer a 3.4.3 in portage) B) to recompile your programs with NPTL support, and C) fill in the holes created by a regular stage 1. Basically if you are going to upgrade your system in this way, you will have to replace the command
emerge -e system, with
emerge -e world. Before you run emerge -e world however, run
emerge -e libtool, since you are upgrading your gcc version, and you will recieve errors unless it has been compiled with the same gcc profile you are currently using.
Since you are recompiling everything, the only considerations I can think of as far as your
/etc/make.conf file goes is don't add any cflags that will make the package binary incompatible with other programs you've already compiled, just for safety reasons

. As far as useflags go, the additional useflags in the tutorial along with your own useflags would be a good starting place. The only thing I would say about the useflags in the tutorial are that
pthreads and
ithreads aren't really neccessary. Unless you use the
nptlonly flag instead of
nptl, then glibc will becompiled twice, once with LinuxThreads support and once with NPTL support, regardless whether you tell it to or not.