libthr on current breaks some ports

Kostik Belousov kostikbel at gmail.com
Fri Nov 27 13:16:22 UTC 2009


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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20091127/6931d2e7/attachment.pgp


More information about the freebsd-ports mailing list