Ticket #663 (new enhancement)
Varnish should auto-configure pthread support and VCC_CC
| Reported by: | slink | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | build | Version: | trunk |
| Severity: | normal | Keywords: | errno, mt-safety, pthread, reentrant |
| Cc: |
Description
The issues described in 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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

