#7849: MPIR issue with Sun Studio and --enable-cxx
--------------------------------------------------------------+-------------
Reporter: drkirkby | Owner:
drkirkby
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-4.3.1
Component: solaris | Keywords:
Work_issues: | Author:
Bill Hart, David Kirkby
Upstream: Reported upstream. Developers acknowledge bug. | Reviewer:
Jaap Spies
Merged: |
--------------------------------------------------------------+-------------
Comment(by drkirkby):
Hi Jaap,
I believe the MPIR error message you show:
{{{
configure: error: ABI=64 is not among the following valid choices: 32
}}}
is related to 32/64-bit issues you have, and are '''totally unrelated'''
to this fix which is very specific for Sun Studio. The two extra include
files, which are only included with Sun Studio
{{{
#ifdef __SUNPRO_CC /* See:
http://trac.sagemath.org/sage_trac/ticket/7849 */
#include <stddef.h> /* This is Bill Hart's fix, but I've applied it only
*/
#include <stdarg.h> /* on Sun Studio */
#endif
}}}
can't change any issues with the ABI. That looks like an issue with
compiler flags or a broken set of build tools.
I've just created a copy my gcc 4.3.4 and bintils 2.20 binaries, and are
in the process of uploading them to a server at the University of
Washington. I'll give you a link later by email. It might eliminate the
possibility your compiler is broken in some way.
This particular fix is not a high priority one, but it would be nice to
get it in at some point. I think Bill's two header files are totally safe,
as I've put them inside compiler directives which are only defined with
the Sun C++ compiler - not even the Sun C compiler will see them.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7849#comment:4>
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.