This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build failure, GMP not available
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: pinskia at physics dot uc dot edu (Andrew Pinski)
- Cc: geoffk at apple dot com (Geoffrey Keating), iant at google dot com (Ian Lance Taylor), ghazi at caip dot rutgers dot edu (Kaveh R. GHAZI), gcc at gcc dot gnu dot org (GCC Mailing List), mark at codesourcery dot com (Mark Mitchell)
- Date: Tue, 31 Oct 2006 17:39:55 -0500 (EST)
- Subject: Re: build failure, GMP not available
>
> > So, now if I tell you that despite all reports that it 'works fine',
> > I'm getting
> >
> > > FAIL: gcc.dg/torture/builtin-sin-mpfr-1.c -O0 (test for excess
> > > errors)
> >
> > do you think this is likely to be:
> > 1. some problem in gmp or mpfr,
> > 2. some problem in my build of gmp and/or mpfr, that wouldn't occur
> > if I'd built it in some other (unspecified) way,
> > 3. some problem in my existing system configuration, maybe I already
> > have a gmp installed that is somehow conflicting, or
> > 4. a well-known but not serious bug in GCC's Darwin port?
> >
> > It turns out the answer is 4, at least I think it is.
>
> Actually it is a bug in mpfr which is fixed in the cumulative patch.
http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01175.html
Note thata testcase has the following comment:
/* Version 2.2.0 of MPFR had bugs in sin rounding. This test checks
to see if that buggy version was installed. The problem is fixed
in the MPFR cumulative patch http://www.mpfr.org/mpfr-current and
presumably later MPFR versions.
Origin: Kaveh R. Ghazi 10/23/2006. */
So ...
-- Pinski