From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 6E1063857C47 for ; Mon, 17 Aug 2020 10:28:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6E1063857C47 Received: by mail-il1-x132.google.com with SMTP id q14so10586732ilm.2 for ; Mon, 17 Aug 2020 03:28:45 -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=4Htrn+KiVoI3NoY81XxSapiLbeMeMtkRHuZJX6XBDMw=; b=jBsavm5E+ka4vsTu8acxIzUM/CMVvzXa2tN5tkw4fhwmOWfmFJX8xn5DBCu698nA5I druWUkZHdLN0ZQTM4dox8/YYtj60/GRBcF0S3OwO8+AOxhZuHcGQOmjrp7qMWIIfvqzE qApZhXLUQbkz7la/VqSwRR9XVhEpUuewXDX/ByqcTapR1owMz6EprRS79JeBQbz9DAPV K6UXHAj10xZZKz4IThNPaUwH1B+ESe2/jeq6e2HN93b1+lkD3xuvI9l4gaAS88sEeYHR o9N/KctIZ8RnJwLBILr2/fFdcUgQY0u0MsC6i8hCWFZMLLBdUbD25CUadB8Y8MNRAzGU jmBA== X-Gm-Message-State: AOAM531kKPQox+K/6ggnu85k5mJEoxYEphFSuFW4cbe5tIPP0wzszOgI bxq9TrMR+K6te1OqySjRl4DXa8j1yvPt9A9h5Rx2VEaVnhA= X-Google-Smtp-Source: ABdhPJxJqvoPCnZ5KnqttBBvW5CSkbyCa1H1w7MFuoW2T9k60O+604FYRyfaYDEytifOTIGPjbch3D99DZrSdPiTznI= X-Received: by 2002:a05:6e02:13ee:: with SMTP id w14mr13599692ilj.4.1597660124514; Mon, 17 Aug 2020 03:28:44 -0700 (PDT) MIME-Version: 1.0 References: <88815b4e-dab9-f4c1-dbed-7593adc59390@procyonlabs.com> In-Reply-To: <88815b4e-dab9-f4c1-dbed-7593adc59390@procyonlabs.com> From: Jonathan Wakely Date: Mon, 17 Aug 2020 11:28:33 +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.7 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 10:28:46 -0000 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. > > 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.