Date: Sat, 29 Aug 2009 07:28:34 +0400 From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: freebsd-ports@FreeBSD.org, nork@FreeBSD.org Subject: Re: libtool & pthread & ilmbase Message-ID: <20090829032834.GF26981@hades.panopticon> In-Reply-To: <20090829021824.GE26981@hades.panopticon> References: <20090829021824.GE26981@hades.panopticon>
next in thread | previous in thread | raw e-mail | index | archive | help
* Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > 3) Fix it in OpenEXR. > The same way as above, as just CONFIGURE_ARGS="${PTHREAD_LIBS}" > doesn't seem to have any effect. Hm, there is a drawback however - now you can remove ${PTHREAD_LIBS} from some ports - they will build without problems after that, however will segfault. The example is mentioned nvidia-texture-tools. The fix is still correct - those are applications that need to be lined with -pthread anyway. However, the fact that application uses threads may be unobvious (may use threads through library etc.). So the choice is basically as follows: "Have a bit of frustration form time to time discovering that segfaulting port just needs ${PTHREAD_LIBS}" vs. "don't needlessly force pthreads on many many ports". I'm still for the latter, as it's logically correct and forcing pthreads on all ilmbase-dependent ports won't solve this problem anyway (there may be other libraries possibly with similar problem - and there are). -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090829032834.GF26981>