[xml/sgml-pkgs] Bug#590934: Bug#590934: Bug#590934: libxml2: Segmentation fault, when compiling with -static
mh at glandium.org
Mon Aug 2 15:48:27 UTC 2010
On Mon, Aug 02, 2010 at 04:42:33PM +0200, Mike Hommey <mh at glandium.org> wrote:
> On Mon, Aug 02, 2010 at 12:12:53PM +0200, Mike Hommey <mh at glandium.org> wrote:
> > Upstream is partially responsible for the problem. I'd say there are actually
> > 2 different problems. The first one is that despite using weak symbols, the
> > initialization steps don't check if the symbols are resolved before using
> > them. That should IMHO be fixed in libxml2, instead of removing weak symbols.
> > The fix should be straightforward.
> Reading the code more thoroughly, it does the check, but there may be code
> paths where the result of that test is not checked before calling pthread
The attached patch works for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1233 bytes
Desc: not available
More information about the debian-xml-sgml-pkgs