#12837: MPFR doesn't compile with GCC-4.7.0 on ia64
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: defect | Status: new
Priority: blocker | Milestone: sage-5.0
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by leif):
* cc: jpflori, mhansen (added)
Comment:
Oh, and there are still two "open" issues:
{{{
#!sh
if [ "$SAGE64" = yes ]; then
if [ -z "$CFLAG64" ]; then
CFLAG64=-m64
fi
echo "Building a 64-bit version of MPFR (using '$CFLAG64')."
# XXX Shouldn't this be put into the *required* CFLAGS?
default_cflags="$default_cflags $CFLAG64"
CPPFLAGS="$CPPFLAGS $CFLAG64"
LDFLAGS="$LDFLAGS $CFLAG64"
# As MPFR doesn't have C++ files, we don't have to modify
CXXFLAGS.
fi
}}}
(I think I'll just change that.)
[[BR]]
{{{
#!sh
# XXX What is the following supposed to achieve???
# (GMP/MPIR is a prerequisite for MPFR, and we always build MPIR with
# '--enable-gmpcompat', since MPFR and other packages won't build
without
# that anyway.)
if [ ! -f "$SAGE_LOCAL/include/gmp.h" ]; then
SAGE_CONF_OPTS="$SAGE_CONF_OPTS --disable-static --enable-shared"
fi
if [ "$UNAME" = CYGWIN ]; then
SAGE_CONF_OPTS="$SAGE_CONF_OPTS --disable-static --enable-shared"
fi
}}}
(I feel a bit uncomfortable just removing the first `if`-block, since I
have absolutely no idea why or how it did get there. The second `if`
seems related; I didn't plan to remove that.)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12837#comment:5>
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.