id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,work_issues,upstream,reviewer,author,merged,dependencies,stopgaps
12837,MPFR doesn't compile with GCC-4.7.0 on ia64,jdemeyer,tbd,"The error is exactly the same as the one reported for MPIR at #12765 (""impossible reload"").

The spkg below also fixes some other issues, and applies all official upstream patches published so far.

----

'''New spkg:''' [http://boxen.math.washington.edu/home/leif/Sage/spkgs/mpfr-3.1.0.p1.spkg]

'''md5sum:''' `a21ea669c69350a3d192aba86b7ecbd6  mpfr-3.1.0.p1.spkg`


=== mpfr-3.1.0.p1 (Leif Leonhardy, April 13th 2012) ===
 * #12837: Work around GCC 4.7.0 bug on ia64 (Itanium), unfortunately by almost
   completely disabling optimization on that platform.  (MPFR is also a pre-
   requisite for building the GCC spkg; after that has been built, MPFR will
   get rebuilt with normal optimization.)
 * Use `patch` to apply patches.
 * Apply all recent ""official"" upstream patches; the resulting MPFR version
   then is 3.1.0-p8.
 * Properly quote the parameter to the `configure` option `--libdir`.
 * Export `CFLAGS`! Previously MPFR would not even have used ""its own"" flags
   (extracted from `config.status` after configuring it with `CC` and `CFLAGS`
   unset) if `CFLAGS`, set in its `spkg-install`, weren't already exported.
   (Also export `CPPFLAGS` and `LDFLAGS`, to which `$CFLAG64` is now also added
   if `SAGE64` is `yes`.)
 * Add `$CFLAG64` to *required* `CFLAGS` if `SAGE64=yes`.
 * Clean up the spkg; redirect all warnings and error messages to stderr; add
   some messages.

",defect,closed,blocker,sage-5.0,packages: standard,fixed,,leif jpflori mhansen,,N/A,Volker Braun,Leif Leonhardy,sage-5.0.rc0,,
