[Python-bugs-list] [ python-Bugs-416696 ] --with-threads fail for 2.1c2 on HPUX 11

noreply@sourceforge.net noreply@sourceforge.net
Thu, 19 Apr 2001 15:16:26 -0700


Bugs item #416696, was updated on 2001-04-17 07:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416696&group_id=5470

Category: None
>Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Harri Pasanen (harripasanen)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: --with-threads fail for 2.1c2 on HPUX 11

Initial Comment:
 ./configure --with-thread --without-gcc
.
.
.
checking for --with-threads... yes
checking for mach/cthreads.h... no
checking for --with-pth... no
checking for pthread_create in -lpthread... no
checking for pthread_detach... yes
.
.
.
 make test
.
.
.
test_thread
test test_thread crashed -- thread.error: can't start
new thread                
.
.
.

4 tests failed: test_asynchat test_fork1 test_thread
test_threadedtempfile

-- 

The cause here is that at link time -lpthread is not
included.  If I manually relink with -lpthread, then no
tests fail tests pass.
113 tests
OK.                                                                   

-Harri

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

>Comment By: Tim Peters (tim_one)
Date: 2001-04-19 15:16

Message:
Logged In: YES 
user_id=31435

Assigned to Guido.  Harri, can you supply a patch?  You 
seem to know what you're doing on this box, and nobody else 
does:  every release *something* about threads is broken on 
HPUX, and no patch submitted to date has ever cured this.  
No active Python developer runs HPUX, and I think we've all 
given up trying to sort out the conflicting claims of HP-UX 
users.


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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=416696&group_id=5470