#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):

 With Hans' hint, building the debug version went a bit further. However,
 building still fails, with "cannot find -lomalloc_ndebug".

 OOOOPS! Looking for `-lomalloc_ndebug` in our patches, I see that the
 `sage_debug.patch` looks like this:
 {{{
 #!diff
 diff -ru src/kernel/Makefile.in src.debug/kernel/Makefile.in
 --- src/kernel/Makefile.in      2012-04-17 21:00:08.000000000 +0200
 +++ src.debug/kernel/Makefile.in        2012-07-12 16:51:29.923359810
 +0200
 @@ -49,7 +49,7 @@
  CXXFLAGS       = @CXXFLAGS@ ${PIPE}
  CXXTEMPLFLAGS  = @CXXTEMPLFLAGS@
  CPPFLAGS       = -I${srcdir} -I.. -I@prefix@  @CPPFLAGS@
 -DEFS           = -DNDEBUG -DOM_NDEBUG -D@SING_UNAME@ @DEFS@
 +DEFS           = -DOM_NDEBUG -D@SING_UNAME@ @DEFS@
  LDFLAGS                = @LDFLAGS@
  LD_DYN_FLAGS   = @LD_DYN_FLAGS@
  SFLAGS         = @SFLAGS@
 @@ -64,7 +64,7 @@
  LIBS           = -lm @NEED_LIBS@
  else
  # for the 2-0-* versions under Windows, we don't need gdbm, readline and
 ncurses
 -LIBS           = -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses
 -lomalloc_ndebug
 +LIBS           = -lsingfac -lsingcf -lntl -lgmp -lreadline -lncurses
 -lomalloc
  #LIBS          = -lsingfac -lsingcf -lgmp
  endif
  MP_LIBS                = @MP_LIBS@
 }}}
 Isn't the diff file formatted wrongly? I am talking about the paths
 "src/kernel" and "src.debug/kernel", which do not exist.

--
Ticket URL: <http://trac.sagemath.org/ticket/16938#comment:8>
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.

Reply via email to