[asterisk-bugs] [Asterisk 0017303]: [patch] pthread_rwlock_timedwrlock autoconf test is wrong

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 7 15:44:52 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17303 
====================================================================== 
Reported By:                stuarth
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17303
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-06 18:51 CDT
Last Modified:              2010-05-07 15:44 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).
====================================================================== 

---------------------------------------------------------------------- 
 (0121595) svnbot (reporter) - 2010-05-07 15:44
 https://issues.asterisk.org/view.php?id=17303#c121595 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 261916

_U  branches/1.6.2/
U   branches/1.6.2/configure
U   branches/1.6.2/configure.ac
U   branches/1.6.2/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r261916 | tilghman | 2010-05-07 15:44:51 -0500 (Fri, 07 May 2010) | 21
lines

Merged revisions 261913 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261913 | tilghman | 2010-05-07 15:35:17 -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=261916 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-07 15:44 svnbot         Checkin                                      
2010-05-07 15:44 svnbot         Note Added: 0121595                          
======================================================================




More information about the asterisk-bugs mailing list