Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Closed
Description
Python main branch fails to build in AIX operating system with the below error.
gcc -pthread -c -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE -o Objects/typeobject.o Objects/typeobject.cIn file included from ./Include/internal/pycore_runtime.h:13, from ./Include/internal/pycore_pystate.h:11, from ./Include/internal/pycore_call.h:11, from Objects/typeobject.c:4:./Include/internal/pycore_global_strings.h:674:41: error: 'struct `<anonymous>`' has no member named '__Bool'; did you mean '_hook'? (_Py_SINGLETON(strings.identifiers._ ## NAME._ascii.ob_base)) ^./Include/internal/pycore_global_objects.h:24:31: note: in definition of macro '_Py_GLOBAL_OBJECT' _PyRuntime.global_objects.NAME ^~~~./Include/internal/pycore_global_strings.h:674:7: note: in expansion of macro '_Py_SINGLETON' (_Py_SINGLETON(strings.identifiers._ ## NAME._ascii.ob_base)) ^~~~~~~~~~~~~Objects/typeobject.c:8569:38: note: in expansion of macro '_Py_ID' PyDoc_STR(DOC), .name_strobj = &_Py_ID(NAME) } ^~~~~~Objects/typeobject.c:8579:5: note: in expansion of macro 'ETSLOT' ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \ ^~~~~~Objects/typeobject.c:8686:5: note: in expansion of macro 'UNSLOT' UNSLOT(__bool__, nb_bool, slot_nb_bool, wrap_inquirypred, ^~~~~~gmake: *** [Makefile:2525: Objects/typeobject.o] Error 1