[Python-bugs-list] [ python-Bugs-770247 ] Python 2.3/cvs fails to build without-threads

SourceForge.net noreply@sourceforge.net
Sun, 13 Jul 2003 03:15:35 -0700


Bugs item #770247, was opened at 2003-07-13 05:02
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=770247&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Marc Recht (marc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Python 2.3/cvs fails to build without-threads

Initial Comment:
Python 2.3/cvs fails to build if Python has been
configured with --without-threads, because pystate.c
uses "PyThread_get_thread_ident" (see the attached
build.log).

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

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2003-07-13 20:15

Message:
Logged In: YES 
user_id=29957

On RH9, build doesn't fail, but does give a warning:
gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include  -DPy_BUILD_CORE -o
Python/pystate.o Python/pystate.c
Python/pystate.c: In function `PyThreadState_New':
Python/pystate.c:147: warning: implicit declaration of
function `PyThread_get_thread_ident'


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

Comment By: Marc Recht (marc)
Date: 2003-07-13 05:04

Message:
Logged In: YES 
user_id=205

This was on NetBSD-current. Maybe the config.log helps, too...

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

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