Jason Moxham wrote: > Building mpir svn trunk (which for the Sun's is the same as mpir-1.2.2) > > ./configure && make -j && make -j check > > ld.so.1: t-modlinv: fatal: /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: > wrong ELF class: ELFCLASS32 > /bin/bash: line 1: 25188 Killed ${dir}$tst > FAIL: t-modlinv > ld.so.1: t-popc: fatal: /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: > wrong ELF class: ELFCLASS32 > /bin/bash: line 1: 25208 Killed ${dir}$tst > FAIL: t-popc > ld.so.1: t-parity: fatal: /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: > wrong ELF class: ELFCLASS32 > /bin/bash: line 1: 25228 Killed ${dir}$tst > FAIL: t-parity > ld.so.1: t-sub: fatal: /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: > wrong ELF class: ELFCLASS32 > /bin/bash: line 1: 25248 Killed ${dir}$tst > FAIL: t-sub > ============================================================= > 9 of 9 tests failed > Please report to http://groups.google.co.uk/group/mpir-devel/ > ============================================================= > > running source doesn't help but setting > > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/sparc-solaris-toolchain/lib/sparcv9 > LD=/usr/ccs/bin/sparcv9/ld > > does the job. > > What should pass , and what should not ? > > Thanks > Jason
This is a result of mixing 32 and 64 bit binaries. try ./configure ABI=32 which is what is used in Sage. The gmp that is used to build all the recent GCC installations on 't2' is based on a 32-bit ABI. --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---