On Fri, Jul 24, 2020 at 5:01 AM CHIGOT, CLEMENT <clement.chi...@atos.net> wrote:
>
> Description:
>       This patch adds the support to build 64bit GCC applications on AIX 7.1

The patch was not correct because defaultaix64.h substitutes POWER7
target default in 64 bit mode, which AIX 7.1 defaults to POWER4.

PPC64 Linux uses BI_ARCH to specify 32 bit supporting 64 bit or 64 bit
supporting 32 bit.  AIX already does that by default.  So I changed
aix71.h and aix72.h to "abuse" BI_ARCH to flag that this is a 64 bit
default build.  This allows the choice of TARGET_DEFAULT to be
determined in aix71.h and aix72.h.  defaultaix64.h becomes redundant
and is removed.

I committed the attached, revised patch.

Thanks, David

Attachment: 0001-aix-Support-GCC64-for-AIX-7.1.patch
Description: Binary data

Reply via email to