[Varnish] #663: Varnish should auto-configure pthread support and VCC_CC
Varnish
varnish-bugs at projects.linpro.no
Fri Mar 12 11:49:07 CET 2010
#663: Varnish should auto-configure pthread support and VCC_CC
--------------------------------------------------+-------------------------
Reporter: slink | Type: enhancement
Status: new | Priority: high
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: errno, mt-safety, pthread, reentrant |
--------------------------------------------------+-------------------------
The issues described in
[http://lists.varnish-cache.org/pipermail/varnish-
misc/2010-February/003831.html this thread] on varnish-misc were found to
be root-caused in missing compiler flags for an MT-safety.
I'll attach a patch to amend configure.ac with the ax_pthread macro, which
hopefully will do the job of determining the correct settings cross
platform.
I've tested this change with trunk (4606) on OpenSolaris snv_111 with both
* gcc version 3.4.3 (csl-sol210-3_4-20050802)
* cc: Sun Ceres C 5.10 SunOS_i386 2009/03/06
and make check has not shown any reproducible issues. (I've seen random
issues which were not reproducible and probably timing related, which I
will have to investigate further).
Also I have improved auto-configuration of VCC_CC.
I am currently writing a test specific to errno MT-safety.
--
Ticket URL: <http://varnish-cache.org/ticket/663>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list