Re: Find out what symbols in dynamic library have not been compiled with -fPIC

2014-12-27 Thread Dmitry Katsubo
On 24/12/2014 23:25, Mike Hommey wrote: > Install the elfutils package and use eu-findtextrel, it's sometimes > wrong, but it should get you started. The manual way to do this is to > crossreference the output of readelf -r with the symbol table and > readelf -l. Thanks, Mike, that helped a lot.

Re: Find out what symbols in dynamic library have not been compiled with -fPIC

2014-12-24 Thread Mike Hommey
On Wed, Dec 24, 2014 at 11:03:56PM +0100, Dmitry Katsubo wrote: > Dear Debian developers, > > When trying to create a package that includes the library, I am reported > the following error by lintian: > > E: libosra1: shlib-with-non-pic-code usr/lib/libosra.so > > I understand what the problem i

Find out what symbols in dynamic library have not been compiled with -fPIC

2014-12-24 Thread Dmitry Katsubo
Dear Debian developers, When trying to create a package that includes the library, I am reported the following error by lintian: E: libosra1: shlib-with-non-pic-code usr/lib/libosra.so I understand what the problem is about, but I would like to know which *functions* in resulting .so are not com