Skip to content

Compiler Inconsistency During python-ibmdb Installation on AIX 7.1 vs AIX 7.3 #5102

@Earammak

Description

@Earammak

setuptools version

80.9.0

Python version

python 3.9

OS

Aix

Additional environment information

While installing the python-ibmdb driver, the build process behaves inconsistently across AIX versions:

On AIX 7.1, the C extension is compiled using GCC.

On AIX 7.3, it defaults to XLC, even though GCC is available on the system.

Installation logs for both AIX 7.1 and AIX 7.3 builds are attached for reference.

Is there a specific reason why the build process prefers XLC on AIX 7.3, even when GCC is available?

Description

While installing the python-ibmdb driver, the build process behaves inconsistently across AIX versions:

On AIX 7.1, the C extension is compiled using GCC.

On AIX 7.3, it defaults to XLC, even though GCC is available on the system.

Installation logs for both AIX 7.1 and AIX 7.3 builds are attached for reference.

aix7.1-install-logs.txt

aix7.3-install-logs.txt

Is there a specific reason why the build process prefers XLC on AIX 7.3, even when GCC is available?

Expected behavior

With Aix7.3 also should compile with gcc compiler instead of xlc.

How to Reproduce

pip3 install ibm_db --no-cache-dir -v

Output

Reference logs for both AIX7.1 and AIX 7.3 attached.

aix7.1-install-logs.txt

aix7.3-install-logs.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions