Date: Wed, 28 Nov 2012 10:40:05 +0100 From: Alex Dupre <ale@FreeBSD.org> To: Alexey Dokuchaev <danfe@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Ganael LAPLANCHE <martymac@FreeBSD.org>, ports-committers@freebsd.org Subject: Re: svn commit: r307891 - in head/benchmarks/bonnie++: . files Message-ID: <50B5DBF5.9020801@FreeBSD.org> In-Reply-To: <20121128092232.GA45503@FreeBSD.org> References: <201211280826.qAS8QmWu077786@svn.freebsd.org> <20121128092232.GA45503@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Alexey Dokuchaev ha scritto: > I wonder is it about time to drop this $PTHREAD_LIBS magic? It's been > -pthread on all supported versions of FreeBSD for a while now. Moreover, on 8.x and later there is no difference between -pthread and -lpthread, so the original motivation of using -pthread doesn't apply anymore: > Change the default value of PTHREAD_LIBS to -pthread for 5.x and > beyond. This avoids linking shared libraries with the thread library, > which causes problems when trying to change from one thread library to > another. Instead all binaries that link to a library that uses > threads must themselves respect PTHREAD_LIBS. -- Alex Dupre
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50B5DBF5.9020801>