[Patches] [ python-Patches-730170 ] fix for bug #727051
SourceForge.net
noreply@sourceforge.net
Sat, 03 May 2003 04:28:04 -0700
Patches item #730170, was opened at 2003-04-30 15:08
Message generated for change (Comment added) made by loewis
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: Closed
>Resolution: Accepted
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.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2003-05-03 13:28
Message:
Logged In: YES
user_id=21627
Thanks for the patch. Applied as
configure 1.393
configure.in 1.404
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=730170&group_id=5470