From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id 48DFD3857C45 for ; Mon, 17 Aug 2020 16:15:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 48DFD3857C45 Received: by mail-il1-x129.google.com with SMTP id 77so14985643ilc.5 for ; Mon, 17 Aug 2020 09:15:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=i84dVu0m3b6stjnmzBrWnpx06IKFKqJV5KQ7TOq7TTY=; b=VjYeFLmA6etoKIRQGfjV2mhYv6DU0NrrSonrqH5kSc6P0+GpdiSrrEc8w0VEdJDE1u DSeWNtE8q8trYxnBQbBIpnydyrX+EcyWJF8QPfU6N+s3ACOu4QrzzmLgo44YBH84Rt6F VXIT7naN6TYHFDAL1Bv8axEbglEGCgYI0YWu5FjC+3m0wYgz5NvvGCgBh/eNTab6IaLi C0MmNW5fYhRJ3d4o+Kx5OT/rFX4YjoqMFsSoRpp/p//8dZKwEfBRSXBgntLBdhIzFRBx VcV7HRry1/pDEuYetnlavcTMJSCbIoSHxomhLrs/5+FVluugnt2Hc0tB9dLwePfLLsEM 2lMg== X-Gm-Message-State: AOAM5308YyjiwJeA7lKze4s6VG5wN34TSsHMBOlq2bH0Z4nFCdjaXM0s rxbcygiJn9wxtopeb9VJznQjDm9KH647pldSmqo= X-Google-Smtp-Source: ABdhPJy/0HeF79nq8SkPLRMcPyDZcEmMtr6nfsz/v3WXieQBSmVOxZZHOxREPOj8pnN2LdkBdzsrMUhyGkP1aNGdXwc= X-Received: by 2002:a05:6e02:1093:: with SMTP id r19mr1947830ilj.261.1597680913701; Mon, 17 Aug 2020 09:15:13 -0700 (PDT) MIME-Version: 1.0 References: <88815b4e-dab9-f4c1-dbed-7593adc59390@procyonlabs.com> <87b40c84-2c38-d70d-465f-0275be2e1c17@procyonlabs.com> In-Reply-To: <87b40c84-2c38-d70d-465f-0275be2e1c17@procyonlabs.com> From: Jonathan Wakely Date: Mon, 17 Aug 2020 17:15:02 +0100 Message-ID: Subject: Re: Compiling GCC 10.2 on AIX 7.2 To: "Randal T. Rioux" Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 16:15:15 -0000 On Mon, 17 Aug 2020 at 17:12, Randal T. Rioux wrote: > > On 8/17/20 6:28 AM, Jonathan Wakely wrote: > > On Mon, 17 Aug 2020 at 07:04, Randal T. Rioux 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.