GNU MP 6.1.2 error undefined symbol __gmpn_invert_limb in test t-constants
Emmanuel.Thome at inria.fr
Tue Aug 29 07:18:44 UTC 2017
On Mon, Aug 28, 2017 at 01:28:33PM -0400, Dennis Clarke wrote:
> ppc64$ ./configure ABI=mode64 --enable-cxx --prefix=/usr/local \
> > --libdir=/usr/local/lib --build=powerpc970-unknown-linux-gnu
> checking compiler gcc -m64 -O2 -Wl,-rpath=/usr/local/lib -mcpu=970 -maltivec
> -mfull-toc -mregnames ... yes
Hold on, where does that rpath come from ? Is it part of your standard
set of CFLAGS that come from your environment ?
As Vincent mentioned, I did encounter an issue where gmp was picking the
wrong lib for the tests. But that was related to idiosyncrasies of the
antiquated linker used by freebsd. You should not encounter such things
under gnu/linux, unless you ask it queer things. Which you seem to do
with that rpath.
Nevertheless, it might be interesting if you test with the head of the
development repository. A flag has been added that lessens the libtool
machinery, maybe it's more robust than the current tarball given the
flags you specify (but maybe not).
More information about the gmp-bugs