New submission from Alex Willmer: Building current tip (rev 102062:3d726dbfca31), on Ubuntu 16.04/x86_64, using --without-thread fails; with the following error gcc -c -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Werror=declaration-after-statement -I. -IInclude -I./Include -DPy_BUILD_CORE -o Python/pylifecycle.o Python/pylifecycle.c Python/pylifecycle.c: In function ‘Py_NewInterpreter’: Python/pylifecycle.c:751:5: error: ‘_PyGILState_check_enabled’ undeclared (first use in this function) _PyGILState_check_enabled = 0; ^ Python/pylifecycle.c:751:5: note: each undeclared identifier is reported only once for each function it appears in Makefile:1575: recipe for target 'Python/pylifecycle.o' failed make: *** [Python/pylifecycle.o] Error 1
I've attached the full build log. ---------- components: Build files: without-threads.build.log messages: 268683 nosy: Alex.Willmer priority: normal severity: normal status: open title: --without-threads build fails due to undeclared _PyGILState_check_enabled versions: Python 3.6 Added file: http://bugs.python.org/file43422/without-threads.build.log _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27336> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com