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: Error in ceval.c when building --without-threads
Type: Stage:
Components: Build Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, eric.araujo, jyasskin, skip.montanaro
Priority: normal Keywords:

Created on 2010-05-30 09:20 by eric.araujo, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg106751 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-05-30 09:20
I can’t build py3k HEAD without threads:

$ gcc -v 2>&1 | tail -2
Thread model: posix
gcc version 4.4.4 (Debian 4.4.4-1)

$ ./configure --without-threads
[snip snip]

$ make -s
Python/ceval.c: In function ‘Py_AddPendingCall’:
Python/ceval.c:622: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:622: warning: type defaults to ‘int’ in declaration of ‘new_val’
Python/ceval.c:622: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:622: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:622: error: memory input 1 is not directly addressable
Python/ceval.c: In function ‘Py_MakePendingCalls’:
Python/ceval.c:635: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:635: warning: type defaults to ‘int’ in declaration of ‘new_val’
Python/ceval.c:635: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:635: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:635: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:635: warning: type defaults to ‘int’ in declaration of ‘result’
Python/ceval.c:635: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:648: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:648: warning: type defaults to ‘int’ in declaration of ‘new_val’
Python/ceval.c:648: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:648: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:635: error: memory input 1 is not directly addressable
Python/ceval.c:648: error: memory input 1 is not directly addressable
Python/ceval.c: In function ‘PyEval_EvalFrameEx’:
Python/ceval.c:1255: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:1255: warning: type defaults to ‘int’ in declaration of ‘result’
Python/ceval.c:1255: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:1279: error: request for member ‘_value’ in something not a structure or union
Python/ceval.c:1279: warning: type defaults to ‘int’ in declaration of ‘result’
Python/ceval.c:1279: error: request for member ‘_value’ in something not a structure or union
make: *** [Python/ceval.o] Erreur 1

It’s my first build failure report. What other information is needed?
msg106762 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2010-05-30 14:37
Confirmed on Mac OSX.
msg106763 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2010-05-30 14:42
Sorry, forgot the compiler and OS version:

   i686-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5490)
   Mac OSX 10.5.8

S
msg106764 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-05-30 14:50
Fixed in r81612.
History
Date User Action Args
2022-04-11 14:57:01adminsetgithub: 53102
2010-05-30 14:50:09benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg106764

resolution: fixed
2010-05-30 14:42:55skip.montanarosetmessages: + msg106763
2010-05-30 14:39:43pitrousetnosy: + jyasskin
2010-05-30 14:37:28skip.montanarosetnosy: + skip.montanaro
messages: + msg106762
2010-05-30 09:25:37eric.araujosettitle: Error in ceval.c when buildind --without-threads -> Error in ceval.c when building --without-threads
2010-05-30 09:20:01eric.araujocreate