make check fails on powerpc-ibm-aix5.3.0.0[Scanned]
Eric Fernandez
efernandez at physiomics-plc.com
Wed May 27 12:34:50 CEST 2009
> That should not normally be required.
>
> I am at loss explaining why things don't work for you, but
> one guess is that your setup somehow causes a different
> libgmp.so to be found, instead of the one in ./.libs.
>
> Do you have some environment variable set that causes the
> linker to ignore ./.libs/libgmp.so? Do you even have a
> libgmp.so somewhere, such as in a system lib directory?
>
> --
> Torbjörn
>
Well, this might be an explanation. The error message is:
Symbol __gmp_binvert_limb_table (number 28) is not exported from
dependent module /hpc/work/fernandz/gnu/lib/libgmp.a(libgmp.so.3).
and /hpc/work/fernandz/gnu/lib/libgmp.a corresponds to my older gmp install (4.2.4).
Indeed, I have compiled my own compiler and libstdc++ which I put in a local folder defined as $PREFIXGNU, itself defined in my .bashrc as follows:
export CC=gcc
export CXX=g++
export F77=xlf_r
export TMPDIR=~/User-Tmp
#prevents slow downs when doing configure for many software (gcc...)
export CONFIG_SHELL=/opt/freeware/bin/bash
export CONFIGURE_ENV_ARGS=/opt/freeware/bin/bash
export GCC_VERSION=4.3.3
export PREFIX=/hpc/work/fernandz/local
export PREFIXGNU=/hpc/work/fernandz/gnu
export LIBPATH=$PREFIXGNU/lib/gcc/powerpc-ibm-aix5.3.0.0/$GCC_VERSION:$PREFIX/lib:$PREFIXGNU/lib:/usr/lib:/lib
export PATH=$PREFIXGNU/bin:$PREFIX/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java131/jre/bin:/usr/java131/bin:/usr/local/bin:/usr/vac/bin:/usr/vacpp/bin:/usr/lpp/LoadL/full/bin:/usr/local/gnu/bin
Do you think there is a problem with the order of the lib paths ?
What is also strange, is that this issue did not occur with GMP-4.2.4 version and lower. I have always been able to replace/upgrade GMP with a newer version so far.
I am going to try several things:
- play with the LIBPATH path order
- uninstall the previous GMP to see if this fixes the problem
Thanks,
Eric
More information about the gmp-bugs
mailing list