#12837: MPFR doesn't compile with GCC-4.7.0 on ia64
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-5.0
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Leif Leonhardy | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by {'newvalue': u'Leif Leonhardy', 'oldvalue': u'Jeroen Demeyer'}):
* status: new => needs_review
* author: Jeroen Demeyer => Leif Leonhardy
Old description:
> The error is exactly the same as #12765.
New description:
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.
--
Comment:
Ok, now committed the changes, new spkg is at the same, usual place.
It uses `required_cflags` for `$CFLAG64`; the rest is still in.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12837#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.