#16938: Sage debug version
-------------------------------------+-------------------------------------
Reporter: SimonKing | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-6.4
Component: build | Resolution:
Keywords: debug singular | Merged in:
cygwin64 | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | bd802db07ff44b2cbbff87e1e900cf30fef4c04a
u/SimonKing/sage_debug_version | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by SimonKing):
Replying to [comment:12 vbraun]:
> Patches are applied with `-p1`, so the first path component is stripped
off.
OK, but I think it doesn't hurt that in the latest commit I change the
path names according to what is done in the other patches (source path
`a/...` versus target path `b/...`).
I got more Info from Hans. There is a debug version of omalloc, but it
would still be omalloc. Hence, valgrind would not see details but would
only see large pages allocated. So, he recommends to stick with xalloc
(which is a compatibility layer on top of malloc).
If we would have Singular 4-x in Sage (we only have 3-1-6), xalloc would
be part of the sources. Hence, all our current patching for the debug
version wouldn't be needed.
As for `-lomalloc_ndebug`: Hans suggests to change the makefile so that a
module `libomalloc_ndebug.so` rather than `libomalloc.so` is created. To
my understanding, it would also allow to remove other parts of our
patches, where we replace `-lomalloc_ndebug` by `-lomalloc`.
--
Ticket URL: <http://trac.sagemath.org/ticket/16938#comment:13>
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.