If you don't want to change LD_LIBRARY_PATH, change LD_LIBRARY_PATH_64 as I explained.
It's this simple: 1) GCC ****NEEDS****** complicated binaries to link against libgcc (read the supplied references online or google it yourself) 2) Thus the linker ****NEEDS******* the path to the 64 bit libgcc in the path (you still haven't even fixed that problem on t2!!) 3) You can safely put the path in LD_LIBRARY_PATH (read the supplied quote *from the SUN documentation* to prove that or google it yourself) OR (for the paranoid who don't believe Sun's own documentation) 4) You can put the path in the LD_LIBRARY_PATH_64, but if you do so, LD_LIBRARY_PATH is ****overridden**** by LD_LIBRARY_PATH_64 by the linker, so in order not to break libraries like MPIR (and for the record, every version of GMP ever released) and others which use libtool for make check, you *must* put $LD_LIBRARY_PATH in LD_LIBRARY_PATH_64 If you don't believe me, find me even a single library which has a make check that uses libtool wrappers for the test programs that passes make check on Solaris 64 bit on t2. I am frustrated with the conversation. If you manage to find another solution which works, and if some patch needs to be applied to MPIR, send it to me. From my point of view the ticket is closed and MPIR now builds on Solaris Sparc 64 bit. Bill. 2010/1/30 Dr. David Kirkby <david.kir...@onetel.net>: > Bill Hart wrote: >> >> Cause of what David? MPIR 1.3.0 works absolutely fine on t2 if you set >> the library paths correctly. > > I'm not convinced it should be necessary to set LD_LIBRARY_PATH like that. > It is not with other 64-bit applications. But I may be mistaken > > BTW, a 64-bit build of mpir 1.3.0 on an HP-C3600, running HP-UX 11.11B, > results in the results shown below. This is with a PA-RISC processor - I do > not have access to any of the newer Itanium machines. > > This is really good news, as an HP-UX port of Sage seems quite possible, and > would no doubt show up bugs not found on other platforms. > > I have no intension personally of using Sage on HP-UX - why would I want to > use it on a power hungy 552 MHz single CPU device, when I have a quad core > 3.33 GHz Sun that uses a third of the power? > > But from experience, compiling code on multiple platforms often shows up > errors not seen on other platforms, but lie in wait, ready to give the wrong > answers at some point in the future. > > I'm really keen to improve the quality of Sage, and honestly believe that > building on other platforms will show up bugs. Real bugs have been > discovered on both Solaris and HP-UX which have not been seen in the more > common platforms for Sage. > > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpz' > PASS: t-addsub > PASS: t-cmp > PASS: t-mul > PASS: t-mul_i > PASS: t-tdiv > PASS: t-tdiv_ui > PASS: t-fdiv > PASS: t-fdiv_ui > PASS: t-cdiv_ui > PASS: t-gcd > PASS: t-gcd_ui > PASS: t-lcm > PASS: dive > PASS: dive_ui > PASS: t-sqrtrem > PASS: convert > PASS: io > PASS: t-inp_str > PASS: logic > PASS: bit > PASS: t-powm > PASS: t-powm_ui > PASS: t-pow > PASS: t-div_2exp > PASS: reuse > PASS: t-root > PASS: t-perfsqr > PASS: t-jac > PASS: t-bin > PASS: t-get_d > PASS: t-get_d_2exp > PASS: t-get_si > PASS: t-set_d > PASS: t-set_si > PASS: t-fac_ui > PASS: t-fib_ui > PASS: t-likely_prime_p > PASS: t-lucnum_ui > PASS: t-scan > PASS: t-fits > PASS: t-divis > PASS: t-divis_2exp > PASS: t-cong > PASS: t-cong_2exp > PASS: t-sizeinbase > PASS: t-set_str > PASS: t-aorsmul > PASS: t-cmp_d > PASS: t-cmp_si > PASS: t-hamdist > PASS: t-oddeven > PASS: t-popcount > PASS: t-set_f > PASS: t-io_raw > PASS: t-import > PASS: t-export > PASS: t-pprime_p > PASS: t-perfpow > PASS: t-trial_division > PASS: st_hamdist > PASS: st_popcount > =================== > All 61 tests passed > =================== > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpz' > make[3]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpz' > Making check in mpq > make[3]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpq' > make t-aors t-cmp t-cmp_ui t-cmp_si t-equal t-get_d t-get_str t-inp_str > t-md_2exp t-set_f t-set_str > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpq' > make[4]: `t-aors' is up to date. > make[4]: `t-cmp' is up to date. > make[4]: `t-cmp_ui' is up to date. > make[4]: `t-cmp_si' is up to date. > make[4]: `t-equal' is up to date. > make[4]: `t-get_d' is up to date. > make[4]: `t-get_str' is up to date. > make[4]: `t-inp_str' is up to date. > make[4]: `t-md_2exp' is up to date. > make[4]: `t-set_f' is up to date. > make[4]: `t-set_str' is up to date. > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpq' > make check-TESTS > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpq' > PASS: t-aors > PASS: t-cmp > PASS: t-cmp_ui > PASS: t-cmp_si > PASS: t-equal > PASS: t-get_d > PASS: t-get_str > PASS: t-inp_str > PASS: t-md_2exp > PASS: t-set_f > PASS: t-set_str > =================== > All 11 tests passed > =================== > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpq' > make[3]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpq' > Making check in mpf > make[3]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpf' > make t-add t-sub t-conv t-sqrt t-sqrt_ui t-muldiv t-dm2exp reuse t-cmp_d > t-cmp_si t-div t-fits t-get_d t-get_d_2exp t-get_si t-get_ui t-gsprec > t-inp_str t-int_p t-mul_ui t-set t-set_q t-set_si t-set_ui t-trunc t-ui_div > t-eq > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpf' > make[4]: `t-add' is up to date. > make[4]: `t-sub' is up to date. > make[4]: `t-conv' is up to date. > make[4]: `t-sqrt' is up to date. > make[4]: `t-sqrt_ui' is up to date. > make[4]: `t-muldiv' is up to date. > make[4]: `t-dm2exp' is up to date. > make[4]: `reuse' is up to date. > make[4]: `t-cmp_d' is up to date. > make[4]: `t-cmp_si' is up to date. > make[4]: `t-div' is up to date. > make[4]: `t-fits' is up to date. > make[4]: `t-get_d' is up to date. > make[4]: `t-get_d_2exp' is up to date. > make[4]: `t-get_si' is up to date. > make[4]: `t-get_ui' is up to date. > make[4]: `t-gsprec' is up to date. > make[4]: `t-inp_str' is up to date. > make[4]: `t-int_p' is up to date. > make[4]: `t-mul_ui' is up to date. > make[4]: `t-set' is up to date. > make[4]: `t-set_q' is up to date. > make[4]: `t-set_si' is up to date. > make[4]: `t-set_ui' is up to date. > make[4]: `t-trunc' is up to date. > make[4]: `t-ui_div' is up to date. > make[4]: `t-eq' is up to date. > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpf' > make check-TESTS > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/mpf' > PASS: t-add > PASS: t-sub > PASS: t-conv > PASS: t-sqrt > PASS: t-sqrt_ui > PASS: t-muldiv > PASS: t-dm2exp > PASS: reuse > PASS: t-cmp_d > PASS: t-cmp_si > PASS: t-div > PASS: t-fits > PASS: t-get_d > PASS: t-get_d_2exp > PASS: t-get_si > PASS: t-get_ui > PASS: t-gsprec > PASS: t-inp_str > PASS: t-int_p > PASS: t-mul_ui > PASS: t-set > PASS: t-set_q > PASS: t-set_si > PASS: t-set_ui > PASS: t-trunc > PASS: t-ui_div > PASS: t-eq > =================== > All 27 tests passed > =================== > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpf' > make[3]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/mpf' > Making check in rand > make[3]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/rand' > make t-iset t-lc2exp t-mt t-rand t-urbui t-urmui t-urndmm > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/rand' > make[4]: `t-iset' is up to date. > make[4]: `t-lc2exp' is up to date. > make[4]: `t-mt' is up to date. > make[4]: `t-rand' is up to date. > make[4]: `t-urbui' is up to date. > make[4]: `t-urmui' is up to date. > make[4]: `t-urndmm' is up to date. > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/rand' > make check-TESTS > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/rand' > PASS: t-iset > PASS: t-lc2exp > PASS: t-mt > PASS: t-rand > PASS: t-urbui > PASS: t-urmui > PASS: t-urndmm > ================== > All 7 tests passed > ================== > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/rand' > make[3]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/rand' > Making check in misc > make[3]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/misc' > make t-printf t-scanf t-locale > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/misc' > make[4]: `t-printf' is up to date. > make[4]: `t-scanf' is up to date. > make[4]: `t-locale' is up to date. > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/misc' > make check-TESTS > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/misc' > PASS: t-printf > PASS: t-scanf > PASS: t-locale > ================== > All 3 tests passed > ================== > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/misc' > make[3]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/misc' > Making check in cxx > make[3]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/cxx' > make > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/cxx' > make[4]: Nothing to be done for `all'. > make[4]: Leaving directory `/home/drkirkby/mpir-1.3.0/tests/cxx' > make check-TESTS > make[4]: Entering directory `/home/drkirkby/mpir-1.3.0/tests/cxx' > ================== > All 0 tests passed > ================== > > > -- > You received this message because you are subscribed to the Google Groups > "mpir-devel" group. > To post to this group, send email to mpir-de...@googlegroups.com. > To unsubscribe from this group, send email to > mpir-devel+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/mpir-devel?hl=en. > > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org