Package: gprconfig-kb
Version: 22.0.0-4
Severity: normal
Control: affects -1 libgnatcoll-bindings libncursesada libtexttools

22.0.0-4 compiles C sources with gnatgcc instead of gcc.

After this change, gprbuild does not always set -fPIC anymore on the
command line compiling C sources for a shared library.

This breaks the linking step later.
/usr/bin/ld: python3/obj/relocatable/python_support.o: warning: relocation 
against `_Py_FalseStruct' in read-only section `.text'
/usr/bin/ld: python3/obj/relocatable/python_support.o: relocation R_X86_64_PC32 
against symbol `PyExc_TypeError' can not be used when making a shared object; 
recompile with -fPIC

Reply via email to