[ python-Bugs-1524317 ] configure --without-threads fails to build

SourceForge.net noreply at sourceforge.net
Wed Jul 19 02:05:55 CEST 2006


Bugs item #1524317, was opened at 2006-07-18 03:44
Message generated for change (Comment added) made by tim_one
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1524317&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ram Bhamidipaty (rambham)
Assigned to: Nobody/Anonymous (nobody)
Summary: configure --without-threads fails to build

Initial Comment:
In Python-2.5b2 I tried to do this:

./configure --without-threads
gmake

The build will fail with an undefined
reference to _PyThread_CurrentFrames

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

>Comment By: Tim Peters (tim_one)
Date: 2006-07-18 20:05

Message:
Logged In: YES 
user_id=31435

Fixed in rev 50708.  That made _PyThread_CurrentFrames()
available in all builds, and fiddled test_sys so that the
test for sys._current_frames() passes with or without
threads.  test_sys still fails in a build without threads,
but for an unrelated reason.

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

Comment By: Matt Fleming (splitscreen)
Date: 2006-07-18 13:54

Message:
Logged In: YES 
user_id=1126061

Fix in patch #1524724. If someone gives it the thumbs up, I
can commit it.

Matt

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

Comment By: Matt Fleming (splitscreen)
Date: 2006-07-18 07:29

Message:
Logged In: YES 
user_id=1126061

I can confirm this error on Linux, below is the output,

gcc  -Xlinker -export-dynamic -o python \
                Modules/python.o \
                libpython2.5.a -ldl  -lutil   -lm  
libpython2.5.a(posixmodule.o): In function `posix_tmpnam':
./Modules/posixmodule.c:6701: warning: the use of `tmpnam'
is dangerous, better 
use `mkstemp'
libpython2.5.a(posixmodule.o): In function `posix_tempnam':
./Modules/posixmodule.c:6654: warning: the use of `tempnam'
is dangerous, better
 use `mkstemp'
libpython2.5.a(sysmodule.o): In function `sys_current_frames':
Python/sysmodule.c:675: undefined reference to
`_PyThread_CurrentFrames'
collect2: ld returned 1 exit status
make: *** [python] Error 1


Thanks, Matt

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

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


More information about the Python-bugs-list mailing list