Skip to content

AIX 7.3 build Error #137575

@AAB94

Description

@AAB94

bash-4.4# export CC=/opt/freeware/bin/gcc
bash-4.4# export CXX=/opt/freeware/bin/gcc
bash-4.4# export CFLAGS="-maix64 -fPIC"
CXXFLAGS=-maix64 -fPIC -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0
LDFLAGS=-maix64 -Wl,-bbigtoc

./Modules/makexp_aix Modules/python.exp "." libpython3.11.a
/opt/freeware/bin/gcc -pthread -maix64 -Wl,-bbigtoc -maix64 -Wl,-bbigtoc -fno-semantic-interposition -fprofile-generate -Wl,-bE:Modules/python.exp -lld -o python Programs/python.o libpython3.11.so -lintl -ldl                         -lm
ld: 0711-319 WARNING: Exported symbol not defined: PyAST_Check
ld: 0711-319 WARNING: Exported symbol not defined: PyAST_mod2obj
ld: 0711-319 WARNING: Exported symbol not defined: PyAST_obj2mod
ld: 0711-319 WARNING: Exported symbol not defined: PyAnextAwaitable_New
ld: 0711-319 WARNING: Exported symbol not defined: PyBufferedIOBase_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyBufferedRWPair_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyBufferedRandom_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyBufferedReader_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyBufferedWriter_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyBytesIO_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyCMethod_GetClass
ld: 0711-319 WARNING: Exported symbol not defined: PyErr_Warn
ld: 0711-319 WARNING: Exported symbol not defined: PyFPE_counter
ld: 0711-319 WARNING: Exported symbol not defined: PyFPE_dummy
ld: 0711-319 WARNING: Exported symbol not defined: PyFileIO_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyIOBase_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyIncrementalNewlineDecoder_Type
ld: 0711-319 WARNING: Exported symbol not defined: PyNumber_AsOff_t
ld: 0711-319 WARNING: Exported symbol not defined: PyOS_StdioReadline
ld: 0711-319 WARNING: Exported symbol not defined: PyRawIOBase_Type
ld: 0711-319 WARNING: Exported symbol not defined: PySTEntry_Type
ld: 0711-319 WARNING: Exported symbol not defined: PySignal_SetWakeupFd
.
.
.
.
.
ld: 0711-319 WARNING: Exported symbol not defined: _pydict_global_version
LIBPATH=/benjaa2/Python-3.11.3 ./python -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
        echo "generate-posix-vars failed" ; \
        rm -f ./pybuilddir.txt ; \
        exit 1 ; \
fi
exec(): 0509-036 Cannot load program ./python because of the following errors:
        0509-150   Dependent module /benjaa2/Python-3.11.3/libpython3.11.so could not be loaded.
        0509-187 The local-exec model was used for thread-local
                   storage, but the module is not the main program.
        0509-193 Examine the .loader section header with the
                 'dump -Hv' command.
generate-posix-vars failed

bash-4.4# $CC --version
gcc (GCC) 13.3.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

bash-4.4# oslevel -s
7300-02-02-2420

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions