After a kernel update to 5.8.0 it seems the issue is back:
If I run:
./configure ./configure --with-GL=no
make
I get stuck with the error aforementioned.
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: /home/xyz/git/BEL/ada_training/gtkada/gtkada-gtkada-17.0/src/obj/gtkada/relocatable/misc.o: relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
collect2: error: ld returned 1 exit status
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project gtkada
make: *** [Makefile:84: build_library_type/relocatable] Error 4`
After a kernel update to 5.8.0 it seems the issue is back:
If I run:
./configure ./configure --with-GL=no
make
I get stuck with the error aforementioned.
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: /home/xyz/git/BEL/ada_training/gtkada/gtkada-gtkada-17.0/src/obj/gtkada/relocatable/misc.o: relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status gprlib: /usr/bin/gcc execution error gprbuild: could not build library for project gtkada make: *** [Makefile:84: build_library_type/relocatable] Error 4`The system is:
How to proceed ? Thanks.
Originally posted by @MarioBlunk in https://github.com/AdaCore/gtkada/issues/10#issuecomment-678466802