#13325: eclib does not build on Cygwin
--------------------------------------------------------------+-------------
Reporter: jpflori | Owner:
tbd
Type: defect | Status:
needs_review
Priority: major | Milestone:
sage-5.3
Component: cygwin | Resolution:
Keywords: eclib spkg cygwin | Work issues:
Report Upstream: Fixed upstream, in a later stable release. | Reviewers:
Authors: Jean-Pierre Flori | Merged in:
Dependencies: #13333 | Stopgaps:
--------------------------------------------------------------+-------------
Comment (by cremona):
Replying to [comment:83 jpflori]:
> I think I got the smattest issue.
> This must be a type length issue (and several warning about overflow in
xmod.h during compilation should have made me realize it earlier).
>
> In smat_elim.cc, if I use the "works fine" code in xmm0 rather than the
David Harvey's one, the test passes.
>
> I think the problem is with INV_BIGPRIME being defined as long, which is
32 bits here on Cygwin I guess and does not fit (1<<33)+140!) rather than
int64_t, whence the warnings during compilation.
> I'm recompiling right now and will retest.
> If that's indeed the problem, that should not be restricted to Cygwin
but anywhere where long is only 32 bits.
That makes a lot of sense. It was a recent change, and I clearly have not
built & tested on my 32-bit laptop recently. (I will do in future, I
promise!). I take it that the solution is to redefine that variable as
int64_t?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13325#comment:84>
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.