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

Comment (by gouezel):

 No, I don't know why it fails. It used to work in 6.8.beta2, and did not
 work in 6.8.beta8. Didn't you do a big cleanup at some time to remove
 unnecessary includes in many files? It might be related.

 For the record, here is part of the log when ntl is not added (last line
 might be relevant):
 {{{
 [ 30/415] gcc -I/usr/include/ncurses -fno-strict-aliasing -g -O2 -DNDEBUG
 -g -fwrapv -O3 -Wall -I/home/Sebastien/sage15/sage/local/include
 -I/home/Sebastien/sage15/sage/local/include/python2.7
 -I/home/Sebastien/sage15/sage/local/lib/python2.7/site-
 packages/numpy/core/include -I/home/Sebastien/sage15/sage/src
 -I/home/Sebastien/sage15/sage/src/sage/ext
 -I/home/Sebastien/sage15/sage/src/build/cythonized
 -I/home/Sebastien/sage15/sage/src/build/cythonized/sage/ext
 -I/home/Sebastien/sage15/sage/local/include/python2.7 -c
 
/home/Sebastien/sage15/sage/src/build/cythonized/sage/combinat/designs/evenly_distributed_sets.c
 -o
 
build/temp.cygwin-2.2.0-x86_64-2.7/home/Sebastien/sage15/sage/src/build/cythonized/sage/combinat/designs/evenly_distributed_sets.o
 -fno-strict-aliasing -w
 gcc -I/usr/include/ncurses -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv
 -O3 -Wall -I/home/Sebastien/sage15/sage/local/include
 -I/home/Sebastien/sage15/sage/local/include/python2.7
 -I/home/Sebastien/sage15/sage/local/lib/python2.7/site-
 packages/numpy/core/include -I/home/Sebastien/sage15/sage/src
 -I/home/Sebastien/sage15/sage/src/sage/ext
 -I/home/Sebastien/sage15/sage/src/build/cythonized
 -I/home/Sebastien/sage15/sage/src/build/cythonized/sage/ext
 -I/home/Sebastien/sage15/sage/local/include/python2.7 -c
 sage/combinat/partitions_c.cc -o
 build/temp.cygwin-2.2.0-x86_64-2.7/sage/combinat/partitions_c.o -fno-
 strict-aliasing -w
 g++ -shared -Wl,--enable-auto-image-base
 -L/home/Sebastien/sage15/sage/local/lib
 
build/temp.cygwin-2.2.0-x86_64-2.7/home/Sebastien/sage15/sage/src/build/cythonized/sage/combinat/partitions.o
 build/temp.cygwin-2.2.0-x86_64-2.7/sage/combinat/partitions_c.o
 -L/home/Sebastien/sage15/sage/local/lib
 -L/home/Sebastien/sage15/sage/local/lib/python2.7/config
 -L/home/Sebastien/sage15/sage/local/lib -lmpfr -lgmp -lstdc++ -lpython2.7
 -o build/lib.cygwin-2.2.0-x86_64-2.7/sage/combinat/partitions.dll
 
build/temp.cygwin-2.2.0-x86_64-2.7/home/Sebastien/sage15/sage/src/build/cythonized/sage/combinat/partitions.o:
 dans la fonction « ZZ_pEX_conv_modulus(NTL::ZZ_pEX&, NTL::ZZ_pEX const&,
 NTL::ZZ_pContext const&) »:
 /home/Sebastien/sage15/sage/src/sage/libs/ntl/ntlwrap.cpp:697: référence
 indéfinie vers « NTL::ZZ_pContext::restore() const »
 /home/Sebastien/sage15/sage/src/sage/libs/ntl/ntlwrap.cpp:697:(.text+0xa065):
 relocalisation tronquée pour concorder avec la taille: R_X86_64_PC32 vers
 le symbole indéfini NTL::ZZ_pContext::restore() const
 ...
 /home/Sebastien/sage15/sage/local/include/NTL/tools.h:511: référence
 indéfinie vers « NTL::TerminalError(char const*) »
 
build/temp.cygwin-2.2.0-x86_64-2.7/home/Sebastien/sage15/sage/src/build/cythonized/sage/combinat/partitions.o:partitions.cpp:(.rdata$.refptr._ZN3NTL8ZZ_pInfoE[.refptr._ZN3NTL8ZZ_pInfoE]+0x0):
 référence indéfinie vers « NTL::ZZ_pInfo »
 collect2: erreur: ld a retourné 1 code d'état d'exécution
 }}}

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