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

Bug#191369: [PROPOSAL] encourage packagers to systematically prevent mis-linked libraries



On Wed, Apr 30, 2003 at 04:28:13PM +0100, James Troup wrote:
> +	  with <tt>dlopen()</tt>.  Packagers may wish to use the gcc
>                                              ^^^^^^^^^^^
> +	  option <tt>-Wl,-z,defs</tt> when building a shared library.
> 
> Couldn't this be a 'should'?

Wouldn't that be a reason to declare a shared library which isn't built with
that check buggy, but it doesn't actually have any problem because it
explicitely links to all of its dependencies already?

This sounds like it would cause a slew of patches to upstream build systems.
Not that that's bad in principle (upstream build systems have a tendency to
suck anyway :), but it sure seems to provoke the "policy is not a stick to
beat people with" retort.

-- 
     2. That which causes joy or happiness.



Reply to: