[New-bugs-announce] [issue3683] compilation --without-threads fails

Damien Miller report at bugs.python.org
Tue Aug 26 03:35:13 CEST 2008

New submission from Damien Miller <djmdjm at users.sourceforge.net>:

Compilation with --without-threads fails with the following error. Patch

cc -c -fno-strict-aliasing -DNDEBUG -O2 -pipe 
-DTHREAD_STACK_SIZE=0x20000 -fPIC  -I. -IInclude -I./Include 
-DPy_BUILD_CORE -o Python/import.o Python/import.c
Python/import.c: In function `PyImport_ImportModuleNoBlock':
Python/import.c:2037: error: `import_lock_thread' undeclared (first use
in this function)
Python/import.c:2037: error: (Each undeclared identifier is reported
only once
Python/import.c:2037: error: for each function it appears in.)
*** Error code 1

components: Interpreter Core
files: patch-Python_import_c
messages: 71964
nosy: djmdjm
severity: normal
status: open
title: compilation --without-threads fails
versions: Python 2.6
Added file: http://bugs.python.org/file11259/patch-Python_import_c

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list