#17635: Update Givaro, FFLAS-FFPACK and LinBox
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-7.2
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:  François Bissey,
        Authors:  Clement Pernet,    |  Jeroen Demeyer
  Jeroen Demeyer                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  d0d3671efb3d418d29c01bb2def611f52d6218f8
  u/jdemeyer/givaro_fflasffpack_linbox|     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by fbissey):

 I finally got around setting a new build environment on my OS X box. I
 first tried to build this branch without running `make check`. linbox
 failed to build, lots of complaints about ambiguous overload of operators
 {{{
 libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DDISABLE_COMMENTATOR
 -I../../linbox -I/Users/fbissey/build/sage-7.2.beta5/local/include
 -D__FFLASFFPACK_HAVE_CBLAS -msse4.1 -mfma -mavx2 -fabi-version=6
 -I/Users/fbissey/build/sage-7.2.beta5/local/include
 -I/Users/fbissey/build/sage-7.2.beta5/local//include -DFFLAS_COMPILED
 -DFFPACK_COMPILED -I/Users/fbissey/build/sage-7.2.beta5/local/include
 -I/Users/fbissey/build/sage-7.2.beta5/local/include
 -I/Users/fbissey/build/sage-7.2.beta5/local/include
 -I/Users/fbissey/build/sage-7.2.beta5/local/include
 -I/Users/fbissey/build/sage-7.2.beta5/local/include -DDISABLE_COMMENTATOR
 -std=gnu++11 -g -fPIC -c linbox-sage.C  -fno-common -DPIC -o .libs/linbox-
 sage.o
 In file included from ../../linbox/ring/ntl.h:39:0,
                  from ../../linbox/blackbox/toeplitz.h:39,
                  from ../../linbox/solutions/trace.inl:33,
                  from ../../linbox/solutions/trace.h:68,
                  from ../../linbox/algorithms/whisart_trace.h:42,
                  from ../../linbox/solutions/rank.h:45,
                  from ../../linbox/algorithms/matrix-rank.h:36,
                  from ../../linbox/algorithms/smith-form-adaptive.inl:43,
                  from ../../linbox/algorithms/smith-form-adaptive.h:106,
                  from linbox-sage.C:46:
 ../../linbox/ring/ntl/ntl-zz_p.h: In function 'Target&
 Givaro::Caster(Target&, const Source&) [with Target = Givaro::Integer;
 Source = NTL::ZZ_p]':
 ../../linbox/ring/ntl/ntl-zz_p.h:84:26: error: ambiguous overload for
 'operator<<' (operand types are 'Givaro::Integer' and 'ptrdiff_t {aka long
 int}')
     x += Integer( txt[i] )<<(8*i) ;
                           ^
 ../../linbox/ring/ntl/ntl-zz_p.h:84:26: note: candidates are:
 ../../linbox/ring/ntl/ntl-zz_p.h:84:26: note: operator<<(int32_t {aka
 int}, ptrdiff_t {aka long int}) <built-in>
 ../../linbox/ring/ntl/ntl-zz_p.h:84:26: note: operator<<(uint32_t {aka
 unsigned int}, ptrdiff_t {aka long int}) <built-in>
 ../../linbox/ring/ntl/ntl-zz_p.h:84:26: note: operator<<(uint64_t {aka
 long long unsigned int}, ptrdiff_t {aka long int}) <built-in>
 ../../linbox/ring/ntl/ntl-zz_p.h:84:26: note: operator<<(int64_t {aka long
 long int}, ptrdiff_t {aka long int}) <built-in>
 }}}
 and there is fair amount more after that.

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