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

noreply@sourceforge.net noreply@sourceforge.net
Fri, 19 Oct 2001 06:43:18 -0700


Bugs item #416696, was opened at 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: Closed Resolution: Out of Date Priority: 4 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: Guido van Rossum (gvanrossum) Date: 2001-10-19 06:43

Message: Logged In: YES user_id=6380

Closed for lack of response.


Comment By: Guido van Rossum (gvanrossum) Date: 2001-08-10 12:08

Message: Logged In: YES user_id=6380

Sorry, that patch no longer works.

Would you mind submitting a new patch that only does a minimal change (rather than re-indenting a large block of code)?


Comment By: The Written Word (Albert Chin) (tww-china) Date: 2001-05-06 22:36

Message: Logged In: YES user_id=119770

You can find a patch to fix this against python 2.1 at: ftp://ftp.thewrittenword.com/outgoing/pub/python-2.1-416696.patch

You'll need to rerun autoconf to test.

This is a duplicate of bug #210665 (PR#360).


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