[Patches] [ python-Patches-730170 ] fix for bug #727051

SourceForge.net noreply@sourceforge.net
Wed, 30 Apr 2003 06:08:04 -0700


Patches item #730170, was opened at 2003-04-30 13:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=730170&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Armin Rigo (arigo)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix for bug #727051

Initial Comment:
The fix for configure.in makes it look for sem_init()
first in the library pthread, before it tries the
Solaris rt and posix4.

The trouble is that on Linux sem_init() seems to be
defined both in libpthread and in librt, making linking
with librt unnecessary on Linux where we generally link
with libpthread anyway.

Linking with librt has the additional burden of making
Python no longer valgrind-friendly, which is the cause
for the reported bug http://www.python.org/sf/727501

Let me know if there is any difference I am not aware
of between the rt and the pthread versions of
sem_init(). A full recompile and 'make test' worked
fine on my Linux machine.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=730170&group_id=5470