[asterisk-bugs] [Asterisk 0017303]: [patch] pthread_rwlock_timedwrlock autoconf test is wrong
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 7 15:35:18 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17303
======================================================================
Reported By: stuarth
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17303
Category: Core/BuildSystem
Reproducibility: always
Severity: minor
Priority: normal
Status: ready for review
Asterisk Version: 1.6.2.7
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-05-06 18:51 CDT
Last Modified: 2010-05-07 15:35 CDT
======================================================================
Summary: [patch] pthread_rwlock_timedwrlock autoconf test is
wrong
Description:
The pthread_rwlock_timedwrlock() test doesn't link with the thread library,
so the test always fails (confirmed on OpenBSD -current, which now has this
function, and Linux).
======================================================================
----------------------------------------------------------------------
(0121592) svnbot (reporter) - 2010-05-07 15:35
https://issues.asterisk.org/view.php?id=17303#c121592
----------------------------------------------------------------------
Repository: asterisk
Revision: 261913
U trunk/configure
U trunk/configure.ac
U trunk/include/asterisk/autoconfig.h.in
------------------------------------------------------------------------
r261913 | tilghman | 2010-05-07 15:35:18 -0500 (Fri, 07 May 2010) | 14
lines
Use the detected pthread building flags in every place, instead of
hardcoding -lpthread.
We nicely detect the right flags on each system for building Asterisk with
pthreads, then ignore it for every other build option that requires us to
build with pthreads. This caused some items to return a false negative.
Also cleanup some minor naming issues that caused "library library"
redundancy
in the output.
(closes issue https://issues.asterisk.org/view.php?id=17303)
Reported by: stuarth
Patches:
20100507__issue17303.diff.txt uploaded by tilghman (license 14)
Tested by: stuarth
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=261913
Issue History
Date Modified Username Field Change
======================================================================
2010-05-07 15:35 svnbot Checkin
2010-05-07 15:35 svnbot Note Added: 0121592
======================================================================
More information about the asterisk-bugs
mailing list