#2578: MPFR 2.4.2 fails to build with GMP 5.0.0 (And some other important MPFR
patches)
---------------------+------------------------------------------------------
Reporter: willimm | Owner: lfs-b...@…
Type: defect | Status: closed
Priority: normal | Milestone: 6.6
Component: Book | Version: SVN
Severity: normal | Resolution: worksforme
Keywords: |
---------------------+------------------------------------------------------
Comment(by willimm):
Replying to [comment:1 matt...@…]:
> I'm confused. None of my builds have encountered a failure in this
area. The error report you link to is from an HPUX 64bit host. If you
can reproduce this on a Linux 32-bit/64-bit build then please re-open, and
attach your build logs.
The GMP issue has to do with passing --with-gmp-build to configure. In the
INSTALL file:
{{{
--with-gmp-build=DIR assumes that DIR contains the source of GMP and
enables the use of GMP internals.
Try to set CC/CFLAGS to GMP's ones. This is not
guaranteed to work as the configure script does
some compiler tests earlier, and the change may
be too late.
Warning! This option and the group of options
--with-gmp are mutually exclusive
}}}
We don't pass that option, so we don't need the patch. But, then again,
the other two patches are somewhat important: One of them fixes a
underflow error in mpfr_sin_cos, and the other one fixes a MIPS Gcc 4.4.0
issue, which affects CLFS. I would reopen this ticket, but rename it to
"MPFR upstream patches".
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2578#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page