Having a hard time building gmp-14166-14167.
The error is
/usr/bin/ld: mpn/.libs/invert_limb.o: relocation R_X86_64_PC32 against protected symbol `__gmpn_invert_limb_table' can not be used when making a shared object
Tried the following solutions:
- Adding
-fPIC flag to CFLAGS and CXXFLAGS in Makefile
- Adding
-no-pie flag to CFLAGS and CXXFLAGS in Makefile
./configure --with-pic
and none of them worked.