Re: libthr on current breaks some ports

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Fri, 27 Nov 2009 15:16:06 +0200
On Fri, Nov 27, 2009 at 11:40:44AM +0100, Dag-Erling Sm??rgrav wrote:
> Manfred Antar <null_at_pozo.com> writes:
> > The new addition to Makefile on /lib/libthr  "-Wl,-znodlopen "
> > Breaks php4 and mhash on my current 1386
> 
> If they try to dlopen() libthr, they're already broken.
As an absolute minimum, you get non-working errno, because libraries
loaded after libthr reference libthr threaded errno, while libc still
uses global errno.

Once, I spent several hours searching for the memory corruption
only to realize this.

> 
> > I'm sure other ports that use it are broken too as can't load the lib.
> 
> I doubt it.
> 
> DES
> -- 
> Dag-Erling Sm??rgrav - des_at_des.no
> _______________________________________________
> freebsd-ports_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe_at_freebsd.org"

Received on Fri Nov 27 2009 - 12:16:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:58 UTC