Skip to content

AIX build fails with the main branch #98705

@ayappanec

Description

@ayappanec

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.c
In 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

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    buildThe build process and cross-buildtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy