Skip to content

gmp-14166-14167 fails to build #26

@satbekmyrza

Description

@satbekmyrza

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions