These are just some ramblings that someone might be interested in. OK, so my day-to-day LFS system is old. The version of glibc is 2.3.6 (November 2005), and gcc is 4.0.2. There are programs that I can't add due to the old gcc and X11 is 6.8.2 and can't display windows from another system built with Xorg 7.6 or later.
So I decide to finally update. First step, look at the system requirements. Oops, almost nothing is recent enough: bash, bzip2, gcc, kernel, perl, sed, coreutils, glibc. Now what? I use the system every day and the dual monitor setup is nice. So I decide to do this in steps. First, I'll update to LFS 6.6, chroot to there and build svn from that. First I need two partitions. sdb5 and sda12 look really old and I can nuke them and build, so I get started. I fetch the LFS 6.6 book from the museum and the sources from anduin. Now I get a current version of alfs and start to build LFS 6.6 using that. Hmm, alfs doesn't like the versions of the tools I have (about 8 packages), but I can tell it to go ahead anyway. It works. Start building with jhalfs... Chapter 5 is OK. Crashes on glibc. There's a discussion about -fstack_protector on -support about mid-2010. Someone comes up with a work around. Continue... Iproute2 stops building because alfs didn't pick up the patch to not build arp. OK, fix the script and continue. A couple of more problems, but they are easily worked around. Now, I don't really want to boot into LFS 6.6, just chroot there and start building LFS-svn. So I drop back to the base system and mount a bunch of directories on the LFS 6.6 system and run jhalfs on SVN. Seems to put everything in the right place, but the jhalfs make runs into problems right away. At this point I decide to build SVN manually from within the 6.6 chroot. Thinking it out a bit, I decide to build Chapter 5 this way, back out to the base system and then chroot directly into the svn version for Chapters 6, 7, and 8. So far it seems to be working. It's building Chapter 5 glibc right now, but things are looking promising. To be continued... -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page