Re: portability of build?
"Pierre Scotney" ([email protected] via lfs-support Mailing List) <[email protected]> Tue, 11 Mar 2025 22:34:55 +1100
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <Z9Af32S5ba__DLaE@tanglefoot> |
On Mon, Mar 10, 2025 at 03:06:12PM +0100, Thomas Seeling wrote: > Hallo, > > On 3/9/25 04:31, Xi Ruoyao ([email protected] via lfs-support Mailing List) > wrote: > > It's because GMP was built with optimizations specifically to the > current processor. > > The book clearly says: > I built LFS 12.2 last autumn on my desk machine, and I just so happened to > get a cheap ThinkCentre as a bargain 3 weeks ago. > My suspicion was from the beginning that the Celeron is not "good enough" > when I saw things starting to fail. > I have to admit I was not aware of the "optimization" hint in the book since > it was so long ago. > Still find it fascinating that the base system could boot without problems, > and only when I tried to compile additional stuff it failed. > Seems that the boot process does not rely on `expr` like `configure` does > :-) > > Thanks for the pointer to the respective chapter in the LFS book. > In the meantime I had the ThinkCentre machine rebuild LFS (took over 2 days > with my scripts). > As Rainer pointed out I might have had success simply replacing libffi and > gmp files. > Now comes the hard part: getting it to boot with UEFI and GPT layout. > > Stay healthy, > Thomas > -- > Do you wanna be a legend or a passing footprint on the sands of time? > Hello Thomas, Read the BLFS section on booting using GRUB with UEFI enabled, I found it very helpful after several read throughs and attempts, as stated in the BLFS instructions making a bootable USB drive is recommended. Switching to GPT layout disks is not too difficult if you have used fdisk to partition MBR PC disks before. Learning how to use UUID or LABEL for filesystems or PARTUUID or PARTLABEL for physical partitions (lsblk is your friend here) in grub.cfg and fstab rather then direct linux device names (e.g. /dev/sda2) is another useful feature of GPT that can make your system more resilent hard disk changes. Good luck Pierre -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page