Date: Fri, 27 Nov 2009 15:16:06 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Dag-Erling Sm??rgrav <des@des.no> Cc: ports@freebsd.org, current@freebsd.org Subject: Re: libthr on current breaks some ports Message-ID: <20091127131606.GB2368@deviant.kiev.zoral.com.ua> In-Reply-To: <86ocmos11v.fsf@ds4.des.no> References: <200911270246.nAR2k9Zp026751@pozo.com> <86ocmos11v.fsf@ds4.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--2B/JsCI69OhZNC5r Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 27, 2009 at 11:40:44AM +0100, Dag-Erling Sm??rgrav wrote: > Manfred Antar <null@pozo.com> writes: > > The new addition to Makefile on /lib/libthr "-Wl,-znodlopen " > > Breaks php4 and mhash on my current 1386 >=20 > 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. >=20 > > I'm sure other ports that use it are broken too as can't load the lib. >=20 > I doubt it. >=20 > DES > --=20 > Dag-Erling Sm??rgrav - des@des.no > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --2B/JsCI69OhZNC5r Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAksP0RYACgkQC3+MBN1Mb4hvVACfdutYnYv0vmzzTKOvOR288wZ4 eT4AnRDX/3Iho5IVGC5x9USaysHPx3M+ =gOwc -----END PGP SIGNATURE----- --2B/JsCI69OhZNC5r--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091127131606.GB2368>