Re: copy lfs build to older CPU
"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]> Sat, 27 Sep 2025 00:46:11 +0800
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 2025-09-26 at 18:42 +0200, Thomas Seeling wrote: > Hallo, > > > P.S. and simply making a DESTDIR installation of GMP would be also not > > enough. When you rebuild MPFR the gmp.h must be from the new GMP build > > so the CFLAGS in gmp.h won't contain offending a -march= flag. > I installed the recompiled gmp package, should that do it? You need to rebuild [at least] MPFR with the recompiled GMP package installed. As I've mentioned in the previous reply, the problem is GMP building system codes the -march= option used for building GMP into gmp.h, and the MPFR building system reads it out from gmp.h and uses it. And [at least] here means I don't know if there are other packages using GMP reading the -march= option from gmp.h as well. If there's any, it needs to be rebuilt too. -- Xi Ruoyao <[email protected]> -- http://lists.linuxfromscratch.org/sympa/info/lfs-support Unsubscribe: See the above information page