Re: libgmp.a text relocation error on powerpc-*

2021-09-14 Thread Torbjörn Granlund
George Koehler writes: This report is for GMP 6.2.1. The powerpc32 asm in the static library libgmp.a contains a text relocation; this causes a linker error when I use LLD to link a program with libgmp.a. I have no problem with the shared library. The fix is simple: delete the

libgmp.a text relocation error on powerpc-*

2021-09-10 Thread George Koehler
Hello, This report is for GMP 6.2.1. The powerpc32 asm in the static library libgmp.a contains a text relocation; this causes a linker error when I use LLD to link a program with libgmp.a. I have no problem with the shared library. The fix is simple: delete the quotes on `PIC_ALWAYS' in