Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gmp-14166-14167 fails to build #26

Open
satbekmyrza opened this issue Apr 1, 2021 · 0 comments
Open

gmp-14166-14167 fails to build #26

satbekmyrza opened this issue Apr 1, 2021 · 0 comments

Comments

@satbekmyrza
Copy link

satbekmyrza commented Apr 1, 2021

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:

  1. Adding -fPIC flag to CFLAGS and CXXFLAGS in Makefile
  2. Adding -no-pie flag to CFLAGS and CXXFLAGS in Makefile
  3. ./configure --with-pic

and none of them worked.

@satbekmyrza satbekmyrza changed the title gmp-14166-14167 fails to compile gmp-14166-14167 fails to build Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant