On Wed, 29 Nov 2006, Vincent Lefevre wrote:

> MPFR 2.2.1 is now available for download from the MPFR web site:
>
>   http://www.mpfr.org/mpfr-2.2.1/
>
> Thanks very much to those who tested the release candidates.
>
> The MD5's:
> 40bf06f8081461d8db7d6f4ad5b9f6bd  mpfr-2.2.1.tar.bz2
> 662bc38c75c9857ebbbc34e3280053cd  mpfr-2.2.1.tar.gz
> 93a2bf9dc66f81caa57c7649a6da8e46  mpfr-2.2.1.zip
>

Hi Vincent, thanks for making this release.  Since this version of mpfr
fixes important bugs encountered by GCC, I've updated the gcc
documentation and error messages to refer to version 2.2.1.

I have NOT (yet) updated gcc's configure to force the issue.  I'll wait a
little while to let people upgrade.


Gerald, would you please copy the mpfr-2-2.1 tarball to the gcc
infrastructure directory and delete 2.2.0 and the cumulative patch from
there?  Thanks. http://www.mpfr.org/mpfr-current/mpfr-2.2.1.tar.bz2



Patch below installed as obvious after testing on sparc-sun-solaris2.10.

                --Kaveh

2006-12-02  Kaveh R. Ghazi  <[EMAIL PROTECTED]>

        * configure.in: Update MPFR version in error message.

        * configure: Regenerate.

gcc:
        * doc/install.texi: Update recommended MPFR version.  Remove
        obsolete reference to cumulative patch.

gcc/testsuite:
        * gcc.dg/torture/builtin-sin-mpfr-1.c: Update MPFR comment.

diff -rup orig/egcc-SVN20061201/configure.in egcc-SVN20061201/configure.in
--- orig/egcc-SVN20061201/configure.in  2006-11-26 20:01:56.000000000 -0500
+++ egcc-SVN20061201/configure.in       2006-12-02 11:12:45.998319820 -0500
@@ -1130,7 +1130,7 @@ fi
 CFLAGS="$saved_CFLAGS"

 if test -d ${srcdir}/gcc && test x$have_gmp != xyes; then
-  AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.2+.
+  AC_MSG_ERROR([Building GCC requires GMP 4.1+ and MPFR 2.2.1+.
 Try the --with-gmp and/or --with-mpfr options to specify their locations.
 Copies of these libraries' source code can be found at their respective
 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
diff -rup orig/egcc-SVN20061201/gcc/doc/install.texi 
egcc-SVN20061201/gcc/doc/install.texi
--- orig/egcc-SVN20061201/gcc/doc/install.texi  2006-11-26 20:01:26.000000000 
-0500
+++ egcc-SVN20061201/gcc/doc/install.texi       2006-12-02 11:07:36.801797569 
-0500
@@ -297,16 +297,14 @@ library search path, you will have to co
 @option{--with-gmp} configure option.  See also
 @option{--with-gmp-lib} and @option{--with-gmp-include}.

[EMAIL PROTECTED] MPFR Library version 2.2 (or later)
[EMAIL PROTECTED] MPFR Library version 2.2.1 (or later)

 Necessary to build GCC.  It can be downloaded from
[EMAIL PROTECTED]://www.mpfr.org/}.  If you're using version 2.2.0, You
-should also apply revision 16 (or later) of the cumulative patch from
[EMAIL PROTECTED]://www.mpfr.org/mpfr-current/}.  The version of MPFR that is
-bundled with GMP 4.1.x contains numerous bugs.  Although GCC will
-appear to function with the buggy versions of MPFR, there are a few
-bugs that will not be fixed when using this version.  It is strongly
-recommended to upgrade to the recommended version of MPFR.
[EMAIL PROTECTED]://www.mpfr.org/}.  The version of MPFR that is bundled with
+GMP 4.1.x contains numerous bugs.  Although GCC may appear to function
+with the buggy versions of MPFR, there are a few bugs that will not be
+fixed when using this version.  It is strongly recommended to upgrade
+to the recommended version of MPFR.

 The @option{--with-mpfr} configure option should be used if your MPFR
 Library is not installed in your default library search path.  See
diff -rup 
orig/egcc-SVN20061201/gcc/testsuite/gcc.dg/torture/builtin-sin-mpfr-1.c 
egcc-SVN20061201/gcc/testsuite/gcc.dg/torture/builtin-sin-mpfr-1.c
--- orig/egcc-SVN20061201/gcc/testsuite/gcc.dg/torture/builtin-sin-mpfr-1.c     
2006-10-23 20:01:14.000000000 -0400
+++ egcc-SVN20061201/gcc/testsuite/gcc.dg/torture/builtin-sin-mpfr-1.c  
2006-12-02 11:09:23.086012787 -0500
@@ -1,7 +1,6 @@
 /* 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.
+   in version 2.2.1 and presumably later MPFR versions.

    Origin: Kaveh R. Ghazi 10/23/2006.  */

Reply via email to