LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   MPFR-2.4.1 Check Failures in LFS 6.5 RC2 (https://www.linuxquestions.org/questions/linux-from-scratch-13/mpfr-2-4-1-check-failures-in-lfs-6-5-rc2-746538/)

GuyWhoKilledBear 08-10-2009 03:46 PM

MPFR-2.4.1 Check Failures in LFS 6.5 RC2
 
All,

I'm having trouble with the tests for MPFR-2.4.1 in Chapter 6 of the RC. I
didn't get any compilation or compiling errors; they only showed up in the
test suite. The two tests that failed were tset_ld and tcmp_ld. Because
I'm in chapter 6, this shouldn't matter, but my host operating system is
Ubuntu Netbook Remix, which is based on 9.04.

The relevant parts of the check follow:
----------
Error: mpfr_get_ld o mpfr_set_ld <> Id
r=0
d=4.903496529371628469751533710223e-4943
get_ld(set_ld(d))=0.000000000000000000000000000000e+00
d=[FA 99 04 08 00 00 00 00 00 00 DD BF] 4.903825107657432356e-4943
x=4.024cfd0000000000@-4105
e=[00 00 00 00 00 00 00 00 00 00 04 08] 4.9038254357253902254e-4943
FAIL: tset_ld
-----------
Error in mpfr_cmp_ld 2.34763465 and 2.34763464999999982296685629990
FAIL: tcmp_ld
-----------

Thanks in advance for your help.
---
Joe McLaughlin

GuyWhoKilledBear 08-12-2009 06:53 PM

How I got past this was to copy the GMP and MPFR directories into the GCC directory, like in Chapter 5, and then compile GCC. Most of the checks passed, as is expected by the book. Does anyone here know what the consequences are of compiling GMP and MPFR as part of GCC versus compiling them separately?

Thanks.


All times are GMT -5. The time now is 12:41 PM.