Compiling GCC 10.2 on AIX 7.2

Randal T. Rioux randal@procyonlabs.com
Mon Aug 17 16:12:01 GMT 2020


On 8/17/20 6:28 AM, Jonathan Wakely wrote:
> On Mon, 17 Aug 2020 at 07:04, Randal T. Rioux <randal@procyonlabs.com> wrote:
>>
>> System: IBM POWER 740 (POWER7 CPU)
>> OS Level: 7200-04-02-2016
>> Bootstrap Compiler: GCC 8.3.0 from AIX Toolbox (IBM yum repo)
>>
>> Please let me know if I need to include anything else. Hopefully I've
>> provided enough information to aid in my request here.
>>
>> Environment Variables:
>>
>> export CFLAGS="-mcpu=power7 -pipe -O2 -I/opt/freeware/include"
>> export CXXFLAGS=$CFLAGS
>> export LDFLAGS="-L/opt/freeware/lib64 -L/opt/freeware/lib
>> -Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
>> -Wl,-bmaxdata:0x80000000"
>> export CONFIG_SHELL=/opt/freeware/bin/bash
>> export CONFIG_ENV_ARGS=/opt/freeware/bin/bash
>>
>> configure output: https://pastebin.com/FinvPRPU
>> config.log: https://pastebin.com/4Y30z9tU
>> config.status: https://pastebin.com/C7ZC9uzB
>>
>> configure seems to work fine, although the config.log seems to show it
>> ignores my flags to only enable c/c++ compilers (I could be reading this
>> wrong).
> 
> You are reading it wrong.

Okay then.

>> Running make works for a little bit, then dies around:
>>
>> (snip)
>> mkdir -p -- common/.deps
>> mkdir -p -- analyzer/.deps
>> config.status: executing default commands
>> gmake[2]: Leaving directory '/usr/src/gcc-build'
>> gmake[1]: *** [Makefile:20799: stage1-bubble] Error 2
>> gmake[1]: Leaving directory '/usr/src/gcc-build'
>> gmake: *** [Makefile:1002: all] Error 2
> 
> You've snipped the actual error so we can't see what failed.

What specifically would help you (or anyone else) to diagnose this?

Thanks




More information about the Gcc-help mailing list