#7867: GCC reports incorrect flags compiling descent_two_isogeny.c on Solaris 10
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.3
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by rlm):
Based on random googling, I'd suspect the flag `-std=c99`, which is
required since the file depends on FLINT. This thread* seems to suggest
replacing that flag with `-xc99`. Other threads suggest adding
`-xc99=%none`: this flag may be required because it is trying to link in
ratpoints, and is the first thing in Sage to try to do so. See this
thread^ for more details.
* -
http://www.mathworks.com/support/solutions/en/data/1-14ZQS4/index.html?solution=1-14ZQS4
^ - http://mail.python.org/pipermail/python-bugs-
list/2005-September/030452.html
In particular, the relevant part of limits.h says
{{{
/*
* It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application
* using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b,
* and POSIX.1c applications. Likewise, it is invalid to compile an XPG6
* or a POSIX.1-2001 application with anything other than a c99 or later
* compiler. Therefore, we force an error in both cases.
*/
}}}
This is where my understanding reaches its boundaries, but maybe I've said
something helpful to someone. The ratpoints code is fairly old, and it
wouldn't surprise me if the above comment was relevant.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7867#comment:2>
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.