hielvc wrote:This can be avoided and there are usually less problems by " emerge system -e" from a statge3. So why not go this route?
As to
kimchi_sg's new super dupper one liner looks good.

unfortunately, the process of performing a
Stage 1 Install on a Stage 3 Tarball is more complicated that it appears at first glance. I mentioned this in
rac's thread that gave birth to this idea.
the one flaw that i see in every take on the whole Stage 1 on 3 approach that we've seen so far is that they're all performed from a Stage 1 mindset. the contents of a Stage 3 tarball are different. in addition to changing the way you bootstrap the system, you also have to consider where you're going with the newly emerged version of GCC.
Hobbit-HK made a tremendously important point that nobody seems to have picked up on -- that you have to break the one-liner apart when you install a new version of GCC. He made some good points about taking pause to think about the CFLAGS statements in /etc/make.conf before getting carried away with the one liner. there are definitely some worthwhile benefits to be gained in that respect.
one other thing that nobody else seems to have noticed is that all of the one liners i've seen to date fail to actually
install the GCC 3.4.3 compiler after emerging it! if you follow the one-liner as it is written, the entire "emerge -e system" et.seq. is executed using GCC 3.3.4, even though we're all
assuming that its being done with 3.4.3. if you have any doubts about this, do a real Stage 3 install on a blank HD and see what i mean -- if you look at the output of "gcc-config -l" after emerging 3.4.3 you'll see something that looks like this:
Code: Select all
#gcc-config -l
[1] i386-pc-linux-gnu-3.3.4 *
[2] i386-pc-linux-gnu-3.4.3
[3] i386-pc-linux-gnu-3.4.3-hardened
[4] i386-pc-linux-gnu-3.4.3-hardenednopie
[5] i386-pc-linux-gnu-3.4.3-hardenednossp
its absolutely essential to insert a statement like
into the one-liner to change the default compiler before getting carried away with "emerge -e system". its probably a good idea to recompile all of the compiler tooklit components before going there too. what do you think?