This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unsatisfied symbols: _PyGILState_NoteThreadState (code)
Type: Stage:
Components: Build Versions: Python 2.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mwh Nosy List: georg.brandl, isenmann, mwh, nnorwitz
Priority: normal Keywords:

Created on 2005-09-29 13:14 by isenmann, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
1307978-fix.diff mwh, 2005-09-29 14:04 fix
Messages (6)
msg26450 - (view) Author: Goetz Isenmann (isenmann) Date: 2005-09-29 13:14
Compiling python 2.4.2 without threads (for hpux1020)
results
in an undefined symbol _PyGILState_NoteThreadState in
Python/pystate.o.
There are probably some "#ifdef WITH_THREAD"s missing.
msg26451 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2005-09-29 13:28
Logged In: YES 
user_id=6656

Aaargh, I expect you're right.  Should be easy to fix, will have a patch for 
you to test shortly.
msg26452 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-09-29 13:32
Logged In: YES 
user_id=1188172

I'd think that a #ifdef WITH_THREAD around the
_PyGILState_NoteThreadState call in pystate.c:192 is enough.
msg26453 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2005-09-29 14:04
Logged In: YES 
user_id=6656

Can you try the attached?
msg26454 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2005-09-30 05:31
Logged In: YES 
user_id=33168

Wasn't a fix for this checked in?  Can this be closed?
msg26455 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2005-09-30 08:20
Logged In: YES 
user_id=6656

It's fixed now:

Python/pystate.c revision 2.43
Python/pystate.c revision 2.38.2.4
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42430
2005-09-29 13:14:41isenmanncreate