#16938: Sage debug version
-------------------------------------------+------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-6.4
Component: build | Resolution:
Keywords: debug singular cygwin64 | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
-------------------------------------------+------------------------
Comment (by SimonKing):
The function `choose_patche()` of singular's spkg-install removes most of
the files in `$SRC/omalloc/` if we are in debug mode. However, the
cygwin64 patch tries to patch some files in that folder.
In addition to that, the cygwin64 patch says
{{{
+ifeq ($(SINGUNAME),x86_64-Win)
+SO_SUFFIX = dll
+MODULE_SUFFIX = dll
+LIBSINGULAR_FLAGS = -shared
+LIBSINGULAR_LIBS = -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
+endif
+
}}}
So, if one would try to build the debug version in 64 bit cygwin, then one
had -lomalloc, but that would not work, since omalloc is disabled on
purpose, for the debug version.
What to do? In principle, we could put an alternative version of the
cygwin64 patch into the patches/conditional folder, and if we are in debug
version, we could let `choose_patches()` replace the regular cygwin patch
version by the conditional version.
I will try to solve the problem accordingly, however, I have no windows
box. Hence, someone else needs to test if a debug version of singular
works in cygwin.
--
Ticket URL: <http://trac.sagemath.org/ticket/16938#comment:1>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.