#12841: update M4RIE to newest upstream release
-----------------------------------+----------------------------------------
Reporter: malb | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.2
Component: packages | Resolution:
Keywords: | Work issues: solaris
Report Upstream: N/A | Reviewers: Simon King, Jeroen
Demeyer, Volker Braun
Authors: Martin Albrecht | Merged in:
Dependencies: #12840 | Stopgaps:
-----------------------------------+----------------------------------------
Changes (by vbraun):
* status: positive_review => needs_work
* work_issues: => solaris
Comment:
I tried to compile this on mark (sparc solaris) and it dies at
{{{
g++ -DHAVE_CONFIG_H -I. -I./src
-I/home/vbraun/opt/mark/sage-5.1.beta3/local/include -I/include
-I/include -I/include -MT test_trsm-test_trsm.o -MD -MP -MF .deps
/test_trsm-test_trsm.Tpo -c -o test_trsm-test_trsm.o `test -f
'tests/test_trsm.cc' || echo './'`tests/test_trsm.cc
mv -f .deps/test_trsm-test_trsm.Tpo .deps/test_trsm-test_trsm.Po
/bin/bash ./libtool --tag=CXX --mode=link g++ -I/include -I/include
-I/include -Wl,-rpath,.libs/
-L/home/vbraun/opt/mark/sage-5.1.beta3/local/lib -o test_trsm test_trsm-
test_trsm.o -L/lib -lm4ri -lm4rie -lgivaro -lgmpxx -lgmp -lm -lstdc++
libtool: link: g++ -I/include -I/include -I/include -Wl,-rpath -Wl,.libs/
-o .libs/test_trsm test_trsm-test_trsm.o
-L/home/vbraun/opt/mark/sage-5.1.beta3/local/lib -L/lib
/home/vbraun/opt/mark/sage-5.1.beta3/spkg/build/libm4rie-20120613/src/.libs/libm4rie.so
/home/vbraun/opt/mark/sage-5.1.beta3/local/lib/libm4ri.so
/home/vbraun/opt/mark/sage-5.1.beta3/local/lib/libpng12.so -lz
/home/vbraun/opt/mark/sage-5.1.beta3/local/lib/libgivaro.so
-L/home/vbraun/opt/mark/sage-5.1.beta3/local//lib
/home/vbraun/opt/mark/sage-5.1.beta3/local/lib/libgmpxx.so
/home/vbraun/opt/mark/sage-5.1.beta3/local/lib/libgmp.so
/home/vbraun/opt/mark/sage-5.1.beta3/local/lib/libstdc++.so -lm -Wl,-R
-Wl,/home/vbraun/opt/mark/sage-5.1.beta3/local/lib
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
make[2]: *** [test_trsm] Error 1
make[2]: Leaving directory
`/home/vbraun/opt/mark/sage-5.1.beta3/spkg/build/libm4rie-20120613/src'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
`/home/vbraun/opt/mark/sage-5.1.beta3/spkg/build/libm4rie-20120613/src'
make: *** [check-recursive] Error 1
}}}
Only more sophisticated linkers understand `-rpath`, its better to use
`-R`. Though you shouldn't have to manually set rpaths in
`libm4rie-20120613/src/bench/Makefile.am` at all, the whole
autotools/libtools machinery should do that for you.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12841#comment:35>
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.