#20981: Fix debug build of some modules on Cygwin
-------------------------------------+-------------------------------------
       Reporter:  embray             |         Type:  defect
         Status:  new                |     Priority:  minor
      Milestone:  sage-7.3           |    Component:  porting: Cygwin
       Keywords:                     |    Merged in:
        Authors:  Erik Bray          |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  u/embray/cygwin-   |       Commit:
  debug-module-list                  |  8868c785a4f6085f442c2cf4fb6b43033f954c1c
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
 This small patch fixes some problems I was having doing a debug build of
 Sage on Cygwin (`SAGE_DEBUG=yes`).  I didn't have the same problem on
 Windows.

 I actually made this patch a few weeks ago and don't remember all the
 details of why this was needed.  No symbols from `gmp` are used explicitly
 in those modules, but ''are'' brought in via `ntl`.  Normally these unused
 symbols would be optimized out at link time, but with `-O0` they are not.
 There are also some Windows-specific details of the linker that I forget
 that were specifically responsible for this failing on Windows, while it
 still worked on Linux.

 That said, it should be harmless to add this change in general.

--
Ticket URL: <https://trac.sagemath.org/ticket/20981>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to