#12883: Update LinBox to most recent upstream release
----------------------------------------------------------------+-----------
Reporter: pcpa |
Owner: cpernet
Type: enhancement |
Status: new
Priority: major |
Milestone: sage-wishlist
Component: linbox |
Resolution:
Keywords: | Work
issues:
Report Upstream: None of the above - read trac for reasoning. |
Reviewers:
Authors: | Merged
in:
Dependencies: |
Stopgaps:
----------------------------------------------------------------+-----------
Description changed by malb:
Old description:
> Reported build problems with linbox 1.2.2 to upstream a few minutes ago.
>
> Reason is that I am experimenting with packaging sagemath in Fedora. As
> you should know, I have it packaged since late sagemath 3.x up to 4.8 in
> Mandriva, so I am attempting to repeat it in Fedora.
>
> Fedora has linaro 1.2.2 (built with --enable-sage) packaged, and
> givaro-3.5.0 btw :-)
>
> I reported the same build log at[http://groups.google.com/group/linbox-
> use/browse_thread/thread/713663b790d0dfe9 http://groups.google.com/group
> /linbox-use/browse_thread/thread/713663b790d0dfe9] but pasting it here
> also to hopefully give an idea of the build failure.
> {{{
> gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-
> buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv
> -fPIC
> -I/home/pcpa/rpmbuild/BUILDROOT/sagemath-4.8-0.1.x86_64/usr/share/sagemath/local/include
> -Ic_lib/include
> -I/home/pcpa/rpmbuild/BUILDROOT/sagemath-4.8-0.1.x86_64/usr/share/sagemath/devel/sage/sage/ext
> -I/usr/include/python2.7 -c sage/libs/linbox/linbox.cpp -o
> build/temp.linux-x86_64-2.7/sage/libs/linbox/linbox.o -w
> sage/libs/linbox/linbox.cpp: In function 'int
> __pyx_f_4sage_4libs_6linbox_6linbox_17Linbox_modn_dense_echelonize(__pyx_obj_4sage_4libs_6linbox_6linbox_Linbox_modn_dense*)':
> sage/libs/linbox/linbox.cpp:2308:123: error:
> 'linbox_modn_dense_echelonize' was not declared in this scope
> sage/libs/linbox/linbox.cpp: In function 'PyObject*
> __pyx_pf_4sage_4libs_6linbox_6linbox_17Linbox_modn_dense_4_poly(PyObject*,
> PyObject*)':
> sage/libs/linbox/linbox.cpp:2480:335: error: no matching function for
> call to 'linbox_modn_dense_minpoly(size_t&, size_t**, size_t*, size_t&,
> size_t**&, int&)'
> sage/libs/linbox/linbox.cpp:2480:335: note: candidate is:
> /usr/include/linbox/linbox-sage.h:65:11: note: template<class Element>
> Element* linbox_modn_dense_minpoly(Element, Element**, size_t*, size_t,
> Element*)
> sage/libs/linbox/linbox.cpp:2527:43: error:
> 'linbox_modn_dense_delete_array' was not declared in this scope
> sage/libs/linbox/linbox.cpp: In function 'PyObject*
> __pyx_f_4sage_4libs_6linbox_6linbox_17Linbox_modn_dense_matrix_matrix_multiply(__pyx_obj_4sage_4libs_6linbox_6linbox_Linbox_modn_dense*,
> size_t**, size_t**, size_t, size_t)':
> sage/libs/linbox/linbox.cpp:2578:187: error: no matching function for
> call to 'linbox_modn_dense_matrix_matrix_multiply(size_t&, size_t**&,
> size_t**&, size_t**&, size_t&, size_t&, size_t&, size_t&)'
> sage/libs/linbox/linbox.cpp:2578:187: note: candidate is:
> /usr/include/linbox/linbox-sage.h:77:9: note: template<class Element>
> Element* linbox_modn_dense_matrix_matrix_multiply(Element, Element*,
> Element*, Element*, size_t, size_t, size_t)
> sage/libs/linbox/linbox.cpp: In function 'long unsigned int
> __pyx_f_4sage_4libs_6linbox_6linbox_17Linbox_modn_dense_rank(__pyx_obj_4sage_4libs_6linbox_6linbox_Linbox_modn_dense*)':
> sage/libs/linbox/linbox.cpp:2634:117: error: 'linbox_modn_dense_rank' was
> not declared in this scope
> sage/libs/linbox/linbox.cpp: In function 'size_t
> __pyx_f_4sage_4libs_6linbox_6linbox_17Linbox_modn_dense_det(__pyx_obj_4sage_4libs_6linbox_6linbox_Linbox_modn_dense*,
> int)':
> sage/libs/linbox/linbox.cpp:2697:116: error: no matching function for
> call to 'linbox_modn_dense_det(size_t&, size_t**&, size_t&, size_t&)'
> sage/libs/linbox/linbox.cpp:2697:116: note: candidate is:
> /usr/include/linbox/linbox-sage.h:59:9: note: template<class Element>
> Element linbox_modn_dense_det(Element, Element*, size_t, size_t)
> sage/libs/linbox/linbox.cpp: In function 'PyObject*
> __pyx_pf_4sage_4libs_6linbox_6linbox_20Linbox_integer_dense_2_poly(PyObject*,
> PyObject*)':
> sage/libs/linbox/linbox.cpp:5127:253: error: invalid initialization of
> non-const reference of type '__mpz_struct (*&)[1]' from an rvalue of type
> '__mpz_struct (**)[1]'
> /usr/include/linbox/linbox-sage.h:108:6: error: in passing argument 1 of
> 'void linbox_integer_dense_minpoly(__mpz_struct (*&)[1], size_t&, size_t,
> __mpz_struct (**)[1])'
> sage/libs/linbox/linbox.cpp:5139:254: error: invalid initialization of
> non-const reference of type '__mpz_struct (*&)[1]' from an rvalue of type
> '__mpz_struct (**)[1]'
> /usr/include/linbox/linbox-sage.h:110:6: error: in passing argument 1 of
> 'void linbox_integer_dense_charpoly(__mpz_struct (*&)[1], size_t&,
> size_t, __mpz_struct (**)[1])'
> sage/libs/linbox/linbox.cpp: In function 'PyObject*
> __pyx_f_4sage_4libs_6linbox_6linbox_20Linbox_integer_dense_matrix_matrix_multiply(__pyx_obj_4sage_4libs_6linbox_6linbox_Linbox_integer_dense*,
> __mpz_struct (**)[1], __mpz_struct (**)[1], size_t, size_t)':
> sage/libs/linbox/linbox.cpp:5283:173: error: too many arguments to
> function 'int linbox_integer_dense_matrix_matrix_multiply(__mpz_struct
> (**)[1], __mpz_struct (**)[1], __mpz_struct (**)[1], size_t, size_t,
> size_t)'
> /usr/include/linbox/linbox-sage.h:115:5: note: declared here
> error: command 'gcc' failed with exit status 1
> }}}
New description:
The version of LinBox used in Sage is '''4 years''' old, we should update.
'''Observe:''' Dependencies
'''Install:'''
http://sage.math.washington.edu/home/malb/spkgs/linbox-1.3.0.spkg
'''Apply:''' [[attachment:sage-linbox]]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12883#comment:7>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.