delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/12/09:12:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 12 Sep 2005 09:13:27 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Python 2.4.1 locking bug. (was: Re: rebaseall failure?)
Message-ID: <20050912131327.GA268@tishler.net>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <94BF3137C62D3E4CAED7E97F876585F09DB07B AT pauex2ku08 DOT agere DOT com> <B4FAFE75-0044-4295-B870-C35514CD91B3 AT mac DOT com>
Mime-Version: 1.0
In-Reply-To: <B4FAFE75-0044-4295-B870-C35514CD91B3@mac.com>
User-Agent: Mutt/1.4.1i
X-IsSubscribed: yes

--PHCdUe6m4AxPMzOu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Doug,

On Thu, Jul 28, 2005 at 11:51:00PM -0400, Douglas Philips wrote:
> On Jul 28, 2005, at 6:02 PM, Williams, Gerald S (Jerry) wrote:
> >On the other hand, I verified at the time that the semaphore solution
> >worked under Cygwin Python, so I wouldn't expect it to be a problem
> >even if the change just took place. However, it could potentially
> >help in isolating the problem.
> 
> Thanks, I'm interested too, but I won't be looking at it personally
> until I've produced (or failed to) an even simpler test case...

If you are willing to build from source, then I have a workaround:

    $ # save attached patch to /tmp/pyconfig.h.diff
    $ # change directory to top of Python 2.4.1 source tree
    $ configure
    $ patch </tmp/pyconfig.h.diff
    $ make

Hopefully, this will keep you going until I finally find some time to
debug this problem.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--PHCdUe6m4AxPMzOu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pyconfig.h.diff"

--- pyconfig.h.orig	2005-09-12 08:10:00.428993600 -0400
+++ pyconfig.h	2005-09-12 08:22:05.733191000 -0400
@@ -54,7 +54,7 @@
 /* #undef HAVE_BROKEN_POLL */
 
 /* Define if the Posix semaphores do not work on your system */
-/* #undef HAVE_BROKEN_POSIX_SEMAPHORES */
+#define HAVE_BROKEN_POSIX_SEMAPHORES 1
 
 /* Define if pthread_sigmask() does not work on your system. */
 #define HAVE_BROKEN_PTHREAD_SIGMASK 1


--PHCdUe6m4AxPMzOu
Content-Type: text/plain; charset=us-ascii

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/
--PHCdUe6m4AxPMzOu--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019