Hi, I am trying to build SAGE on a SiCortex machine with MIPS processors running Linux Gentoo Base System release 1.12.12.
The build/install for libpari-gmp failed (results below). I believe it is because -lgmp gets built using -n32 while libpari-gmp is being built with the default n64. Is there a way to control which ABI the build for the different packages is selected? GCC Version gcc -v Using built-in specs. Target: mips64el-gentoo-linux-gnu Configured with: /opt/sicortex/rootfs/build/var/tmp/portage/sys-devel/ gcc-4.1.2/work/gcc-4.1.2/configure --prefix=/usr --bindir=/usr/ mips64el-gentoo-linux-gnu/gcc-bin/4.1.2 --includedir=/usr/lib/gcc/ mips64el-gentoo-linux-gnu/4.1.2/include --datadir=/usr/share/gcc-data/ mips64el-gentoo-linux-gnu/4.1.2 --mandir=/usr/share/gcc-data/mips64el- gentoo-linux-gnu/4.1.2/man --infodir=/usr/share/gcc-data/mips64el- gentoo-linux-gnu/4.1.2/info --with-gxx-include-dir=/usr/lib/gcc/ mips64el-gentoo-linux-gnu/4.1.2/include/g++-v4 --host=mips64el-gentoo- linux-gnu --target=mips64el-gentoo-linux-gnu --build=x86_64-pc-linux- gnu --disable-altivec --disable-nls --with-system-zlib --disable- checking --disable-werror --enable-secureplt --disable-libunwind- exceptions --enable-multilib --enable-libmudflap --disable-libssp -- disable-libgcj --with-abi=64 --with-arch=5kf --enable-languages=c,c+ +,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.2 (Gentoo 4.1.2) gcc -o libpari-gmp.so.2.3.3 -shared -O3 -Wall -fno-strict-aliasing - fomit-frame-pointer -Wl,-shared,-soname=libpari-gmp.so.2 mp.o mpinl.o Flx.o Qfb.o RgX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o galconj.o gen1.o gen2.o gen3.o ifactor1.o perm.o polarit1.o polarit2.o polarit3.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o default.o errmsg.o es.o init.o intnum.o members.o sumiter.o aprcl.o elldata.o elliptic.o galois.o groupid.o kummer.o mpqs.o nffactor.o part.o stark.o subfield.o thue.o -lc -ldl -lm -L/home/mcelis/sage/sage-3.1.4/ local/lib -lgmp /home/mcelis/sage/sage-3.1.4/local/lib/libgmp.so: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[3]: *** [libpari-gmp.so.2.3.3] Error 1 make[3]: Leaving directory `/.root0/net/home/mcelis/sage/sage-3.1.4/ spkg/build/pari-2.3.3.p0/src/Olinux-mips64' make[2]: *** [gp] Error 2 make[2]: Leaving directory `/.root0/net/home/mcelis/sage/sage-3.1.4/ spkg/build/pari-2.3.3.p0/src' Error building GP real 16m58.016s user 15m15.507s sys 0m25.501s sage: An error occurred while installing pari-2.3.3.p0 Please email sage-devel http://groups.google.com/group/sage-devel explaining the problem and send the relevant part of of /home/mcelis/sage/sage-3.1.4/install.log. Describe your computer, operating system, etc. If you want to try to fix the problem, yourself *don't* just cd to /home/mcelis/sage/sage-3.1.4/spkg/build/pari-2.3.3.p0 and type 'make'. Instead type "/home/mcelis/sage/sage-3.1.4/sage -sh" in order to set all environment variables correctly, then cd to /home/mcelis/sage/sage-3.1.4/spkg/build/pari-2.3.3.p0 (When you are done debugging, you can type "exit" to leave the subshell.) make[1]: *** [installed/pari-2.3.3.p0] Error 1 make[1]: Leaving directory `/.root0/net/home/mcelis/sage/sage-3.1.4/ spkg' Thank you Mimi --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---