public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Randal T. Rioux" <randal@procyonlabs.com>
To: Jonathan Wakely <jwakely.gcc@gmail.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Compiling GCC 10.2 on AIX 7.2
Date: Mon, 17 Aug 2020 15:28:00 -0400	[thread overview]
Message-ID: <db20e370-8b7c-7854-556d-4097681f55e5@procyonlabs.com> (raw)
In-Reply-To: <CAH6eHdQKGD7VJyM=fDv6-KZd4U5QdAgi4JQ4XzimsPkC4qKONg@mail.gmail.com>

On 8/17/20 12:15 PM, Jonathan Wakely wrote:
> On Mon, 17 Aug 2020 at 17:12, Randal T. Rioux <randal@procyonlabs.com> wrote:
>>
>> 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?
> 
> Showing the error.
> 
> Something failed, and then make kept printing some more lines and then
> exited. You've only shown the exiting part, not the error that
> preceded it.

I see - running parallel make added output past the failure point.

This is the part where it conks out:

(snip)
gcc -mcpu=power7 -pipe -O2 -I/opt/freeware/include -L/opt/freeware/lib64
-L/opt/freeware/lib
-Wl,-blibpath:/opt/freeware/lib64:/opt/freeware/lib:/usr/lib:/lib
-Wl,-bmaxdata:0x80000000 -o fixincl fixincl.o fixtests.o fixfixes.o
server.o procopen.o fixlib.o fixopts.o ../libiberty/libiberty.a
collect2: fatal error: ../libiberty/libiberty.a: not a COFF file
compilation terminated.
gmake[3]: *** [Makefile:110: full-stamp] Error 1
gmake[3]: Leaving directory
'/usr/src/gcc-build/build-powerpc-ibm-aix7.2.4.0/fixincludes'
gmake[2]: *** [Makefile:2880: all-build-fixincludes] Error 2
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

Could it be an ld or binutils issue?



  reply	other threads:[~2020-08-17 19:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-17  6:02 Randal T. Rioux
2020-08-17 10:28 ` Jonathan Wakely
2020-08-17 16:12   ` Randal T. Rioux
2020-08-17 16:15     ` Jonathan Wakely
2020-08-17 19:28       ` Randal T. Rioux [this message]
2020-08-18 22:38         ` Randal T. Rioux
2020-08-19  6:43           ` Jonathan Wakely
2020-08-19  7:18             ` Kewen.Lin
2020-08-19  7:04           ` Kewen.Lin
2020-08-19 14:37             ` David Edelsohn
2020-08-19 17:36               ` Randal T. Rioux
2020-08-19 17:42                 ` David Edelsohn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db20e370-8b7c-7854-556d-4097681f55e5@procyonlabs.com \
    --to=randal@procyonlabs.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).