Re: alfs fails to build mpfr

"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sat, 01 Feb 2025 12:05:05 +0100
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
Le samedi 01 février 2025 à 07:34 +0000, biggynb a écrit :
> While using alfs to build a LFS-systemd 12.2, it fails when building
> mpfr.
> ```
> Checking for double-to-integer conversion bug... yes or failed to
> exec (exit
> status is 132)
> configure: error: double-to-integer conversion is incorrect.
> You need to use another compiler (or lower the optimization level).
> ```
> 
> 'Optimization' in 'advanced settings' is NOT on.
> 
> This should be a bug on alfs.

I have tried to reproduce, and I can't.

But the message you see is just a guess by "configure", not really an
indication of what failed.
If you want to troubleshoot this, you should first look at config.log
in <lfs-dir>/sources/mpfr-<version>. Look for "double-to-integer", and
read ahead.
You can also try to reproduce the problem manually by chroot'ing (make
-C <lfs-dir>/jhalfs chroot), change directory to /sources/mpfr-
<version>, and running configure (with params as in the book). If it
does not fail, then that may be an indication that jhalfs is at fault,
but then, I'll need your help to track the bug, since I cannot
reproduce...

REgards
Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page