Re: [Fsfe-uk] Follow-up: MFS Meeting. Tue, 20 March. "GNU/Linux-libre from scratch - start"
On 08/04/18 17:10, Michael Dorrington wrote: > On 25/03/18 22:53, Michael Dorrington wrote: > >> I'll post my progress as I go and we'll finish off at the next meeting. >> This will probably be how to get the system booting and where to go from >> when the system is up. > > I'm up to chroot part, just built and tested Glibc-2.27 (which passed, > noting LFS expected issues) and am next to do "Adjusting the Toolchain". I've done the large compile time and/or test time packages (apart from the Linux compile near the very end). About 30 packages to go, then on to "System Configuration". I expanded the disk space for the system, 6G was just too small. Especially needed the space as I'm keeping some package build directories so I can re-run the tests for them when other packages have been built (as detailed in the book). The book makes use of advanced shell features and sed. I had thoughts that we could do a talk on sed, perhaps including how it fits into the history of text editors and Unix-like systems. Even encompassing grep, AWK and Perl. What do you think? M. -- FSF member #9429 http://www.fsf.org/register_form?referrer=9429 http://www.fsf.org/about "The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom and to defend the rights of all free software users." signature.asc Description: OpenPGP digital signature ___ Fsfe-uk mailing list Fsfe-uk@gnu.org https://lists.gnu.org/mailman/listinfo/fsfe-uk
Re: [Fsfe-uk] Follow-up: MFS Meeting. Tue, 20 March. "GNU/Linux-libre from scratch - start"
On 25/03/18 22:53, Michael Dorrington wrote: > I'll post my progress as I go and we'll finish off at the next meeting. > This will probably be how to get the system booting and where to go from > when the system is up. I'm up to chroot part, just built and tested Glibc-2.27 (which passed, noting LFS expected issues) and am next to do "Adjusting the Toolchain". Before the chroot, I used a host system with /bin/sh which was Dash not Bash and it seems to have worked fine. As I said before, if things expect /bin/sh to be Bash then this is a bug. I backed up $LFS/tools before the chroot section, as recommended, so can go back to that if issues encountered later. I've been using MAKEFLAGS='-j 3' on a 2 CPU system with no problems encountered. I didn't strip files, the book says it is optional and the symbols provide useful info if issues encountered. The next talk will be on the system boot scripts and config (7. System Configuration) and booting (8. Making the LFS System Bootable). This is probably the most difficult bit, especially compiling the kernel to boot your system on your hardware. M. -- FSF member #9429 http://www.fsf.org/register_form?referrer=9429 http://www.fsf.org/about "The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom and to defend the rights of all free software users." signature.asc Description: OpenPGP digital signature ___ Fsfe-uk mailing list Fsfe-uk@gnu.org https://lists.gnu.org/mailman/listinfo/fsfe-uk
Re: [Fsfe-uk] Follow-up: MFS Meeting. Tue, 20 March. "GNU/Linux-libre from scratch - start"
On 25/03/18 22:53, Michael Dorrington wrote: > time { ./configure ... && ... && make install; } Forgot to mention about doing parallel make jobs. This is detailed in the book in "4.5. About SBUs" but I would just add that it is worth doing as it has potential to greatly speed things up. You can try the SBU build time with different values for '-j'/'--jobs'; a value of the number of CPUs you have should be good value. If you just do a plain '-j' without a number then GNU make will do an unlimited number of parallel jobs; which, while interesting to watch, will probably be slower than a value of the number of CPUs on the host. If you do have a problem with building a package then try dropping the parallel make jobs for it. M. -- FSF member #9429 http://www.fsf.org/register_form?referrer=9429 http://www.fsf.org/about "The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom and to defend the rights of all free software users." signature.asc Description: OpenPGP digital signature ___ Fsfe-uk mailing list Fsfe-uk@gnu.org https://lists.gnu.org/mailman/listinfo/fsfe-uk