[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: more non-PIC static libs in shared libs



On Fri, Jan 10, 2003 at 12:40:06PM +0100, Josip Rodin wrote:
> On Thu, Jan 09, 2003 at 10:06:49PM -0500, Jack Howarth wrote:
> >    Doesn't debian have lintian or such to sanity check packages after
> > they are built? Shouldn't we take every package after it is built
> > and scan the *.so* files in it for TEXTREL? That would seem like a
> > neat way to catch these before they even got installed on a build
> > machine.
> 
> Lintian's current shlib-with-non-pic-code check is
> /^\s+\d+\s+\.rela?\.text/ over the output of
> objdump --headers --private-headers -T
> 
> I gather this is insufficient, then?

Actually, barring binutils bugs I thougt this was sufficient; I'd like
to see an example of where it isn't (other than the current PPC linker
bug).

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: