Bug#784009: Segmentation fault

Andreas Metzler ametzler at bebt.de
Wed May 6 17:54:19 UTC 2015


On 2015-05-03 Niels Möller <nisse at lysator.liu.se> wrote:
[...]
> Now, it's still a bit unclear to me how versioned symbols really work.
> Is it still necessary to relink the wget executable? Or will the
> combination of

> * Current wget package, linking to gnutls and libnettle4.so,

> * a new gnutls package, linking to a libnettle5-package containing
>   nettle-3.1

> * libnettle4.so from the nettle-2.7.2 release under consideration, i.e.,
>   with versioned symbols,

> work and resolve all symbols correctly? I.e., all direct references to
> nettle symbols in wget should get definitions in libnettle4.so, and all
> references via gnutls should get definitions in libnettle5.so.
[...]

No, that does not work. wget would be looking for unversioned
references to nettle-symbols, and given the choice ot two differently
versioned ones it will not prefer either over the other.

This one crashes:

 current wget binary built against libnettle4.so
 combined with
 gnutls, built against a nettle with versioned symbols (tested with
 either 3.1 or a patched 3.0)

even if libnettle4.so is also replaced with a patched version using
versioned symbols.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



More information about the Pkg-gnutls-maint mailing list