#9358: zn_poly passes all tests on on Solaris 10 64-bit SPARC, but fails to
install
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: new
Priority: major | Milestone: sage-4.5
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
znpoly passes about 40 self-tests, but fails to install properly.
{{{
zn_array_mulmid_fft()... ok
zn_array_mul_fft_dft()... ok
zn_array_invert()... ok
All tests passed.
gcc -O3 -g -m64 -fPIC -L.
-I/export/home/drkirkby/sage-4.5.alpha0/local/include
-I./include -DNDEBUG -o src/tuning.o -c src/tuning.c
In file included from ./include/zn_poly.h:75,
from ./include/zn_poly_internal.h:41,
from src/tuning.c:28:
./include/wide_arith.h:297:2: warning: #warning No assembly implementation
of wi
de multiplication available for this machine; using generic C code
instead.
ar -r libzn_poly.a src/array.o src/invert.o src/ks_support.o src/mulmid.o
src/mu
lmid_ks.o src/misc.o src/mpn_mulmid.o src/mul.o src/mul_fft.o
src/mul_fft_dft.o
src/mul_ks.o src/nuss.o src/pack.o src/pmf.o src/pmfvec_fft.o src/tuning.o
src/z
n_mod.o
ar: creating libzn_poly.a
ranlib libzn_poly.a
gcc -shared -m64 -Wl,-soname,libzn_poly-`cat VERSION`.so -o
libzn_poly-`cat VER
SION`.so src/array.o src/invert.o src/ks_support.o src/mulmid.o
src/mulmid_ks.o
src/misc.o src/mpn_mulmid.o src/mul.o src/mul_fft.o src/mul_fft_dft.o
src/mul_ks
.o src/nuss.o src/pack.o src/pmf.o src/pmfvec_fft.o src/tuning.o
src/zn_mod.o -L
/export/home/drkirkby/sage-4.5.alpha0/local/lib -lgmp -lm
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libzn_poly-0.9.so: unknown file type
ld: fatal: File processing errors. No output written to libzn_poly-0.9.so
collect2: ld returned 1 exit status
make: *** [libzn_poly.so] Error 1
Error building zn_poly shared library.
real 1m38.825s
user 1m34.368s
sys 0m3.849s
sage: An error occurred while installing zn_poly-0.9.p4
}}}
This looks like a problem in spkg-install, which is undoubtedly my fault.
The script has in if/elif/else/fi which considers
* A 64-bit build
* A Solaris build with the Sun linker.
It does '''not''' cover the possibility of a 64-bit build on Solaris with
the Sun linker.
This should be hopefully quite easy to fix.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9358>
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.