#19051: NTL sublinking
-------------------------------------+-------------------------------------
       Reporter:  gouezel            |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  major              |    Milestone:  sage-
      Component:  porting: Cygwin    |  duplicate/invalid/wontfix
       Keywords:                     |   Resolution:
        Authors:  Sebastien Gouezel  |    Merged in:
Report Upstream:  N/A                |    Reviewers:
         Branch:                     |  Work issues:
  u/gouezel/ntl_sublinking           |       Commit:
   Dependencies:                     |  839023fdcdfc656268ce214580062ccff3350059
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by gouezel):

 I already tried a different linking order, it does not make any
 difference.

 Here is the difference between (working) sage.6.8.beta2 and (failing)
 sage.6.9.beta2 regarding symbols:

 in 6.8.beta2:
 {{{
 nm /home/Sebastien/sage13/sage/local/lib
 
build/temp.cygwin-1.7.35-x86_64-2.7/build/cythonized/sage/modular/arithgroup/farey_symbol.o
 | grep _to_SL2Z
 000000000001f190 T convert_to_SL2Z

 nm build/temp.cygwin-1.7.35-x86_64-2.7/sage/modular/arithgroup/farey.o |
 grep _to_SL2Z
                  U convert_to_SL2Z
 }}}

 in 6.9.beta2:
 {{{
 nm
 
build/temp.cygwin-2.2.0-x86_64-2.7/home/Sebastien/sage15/sage/src/build/cythonized/sage/modular/arithgroup/farey_symbol.o
 | grep _to_SL2Z
 000000000001cfa0 T convert_to_SL2Z

 nm build/temp.cygwin-2.2.0-x86_64-2.7/sage/modular/arithgroup/farey.o |
 grep _to_SL2Z
                  U __imp_convert_to_SL2Z
 }}}

 looks like the symbol in farey.o got prefixed by `__imp_`for some reason.
 So, the symbols in the two files do not match... Is this `__imp_` some
 kind of cython magic? Is it there on other platforms?

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