From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 414803858C52 for ; Fri, 13 May 2022 21:03:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 414803858C52 Received: by mail-wm1-x32a.google.com with SMTP id bd25-20020a05600c1f1900b0039485220e16so5946425wmb.0 for ; Fri, 13 May 2022 14:03:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uJ17Od4A+ffN5wSCjOeE1iFd6drCcjmTFrSBTGOuyWc=; b=ftCO4yn9+fiIeBUeBGsqJ4PZ/018WxFKvcOBDwIZCKO2BH1IY/eq1uSrxSSklteAP3 8k/cXXUoZqkhtLdq8dHN9FuPadI6Ye5daoa1ReKhBJR7cMC/bGBO2s8iTjPJM8VrWajf QIINOHUsJ9Z3RN/rNm+y/pDOGX5iRaIVerly81VvqSY8hpH26XzFKoeTf9GqHo2JJ04U 78dQ4TOeFOO3RUa0U/L2vNl6UybhYtb/U1wUeHECH6cnEhTdq47DAIV6vR8AwntB+5dP bBsYFczOpjZGjcOtd/cIbs2nAXIHZ4dossGl9PXsfQXKLP9epAmYWe/2ks7vkcCKq32N ox+w== X-Gm-Message-State: AOAM530Z/IlStN1R00ajUhKJinXGHm3hWTvZzTtWkItaNK387zxjyg9y lK1V+H55HjAabOo/3UEbe5Rxe14gL6UVA8twyOs= X-Google-Smtp-Source: ABdhPJwHj/Fub8cGSopSMAy2WW57VWp/SQ75NQ7UlWiyYSwD7PN/NqxEUhOgdRlhxyvTvDi7E6RYtJs4bcF6lk8t+rw= X-Received: by 2002:a05:600c:1986:b0:394:867f:984c with SMTP id t6-20020a05600c198600b00394867f984cmr16671908wmq.20.1652475803514; Fri, 13 May 2022 14:03:23 -0700 (PDT) MIME-Version: 1.0 References: <7f1f1a2f-6c9f-d3ad-8aa1-499c87eb8caf@blastwave.org> <05fc1487-9080-5822-4e32-81cf49d13961@blastwave.org> <91d0b89c-2001-1b2c-cbd7-d9b390c9ee8b@blastwave.org> In-Reply-To: <91d0b89c-2001-1b2c-cbd7-d9b390c9ee8b@blastwave.org> From: Jonathan Wakely Date: Fri, 13 May 2022 22:03:12 +0100 Message-ID: Subject: Re: bootstrap fails on Debian ppc64 with fatal error: bits/libc-header-start.h: No such file or directory To: Dennis Clarke Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: Fri, 13 May 2022 21:03:26 -0000 On Fri, 13 May 2022 at 21:55, Dennis Clarke wrote: > However "configure" always runs just fine regardless of much of anything > other than the mysterious --with-gmp and mpfr and mpc options. If I do > not provide those *and* also have the sources extracted into the gcc > source tree then I get a complaint and configure fails. If I do provide > those *and* yes the libs have been prebuilt *and* the sources are in the > gcc source tree then I get no complaint and the compile then rebuilds > them anyways. No idea why. [1] Honestly, I find that hard to believe. One or the other is needed. If you need both, I think you're the only person in the world who needs that. > enceladus$ > enceladus$ ls -lapb --full-time ./stage1-gcc/xgcc ./prev-gcc/xgcc ./gcc/xgcc > -rwxr-xr-x 1 dclarke devl 5981584 2022-05-13 20:17:17.398378278 +0000 > ./gcc/xgcc > -rwxr-xr-x 1 dclarke devl 2077720 2022-05-13 19:34:28.401954705 +0000 > ./prev-gcc/xgcc > -rwxr-xr-x 1 dclarke devl 5145688 2022-05-13 17:18:49.299039174 +0000 > ./stage1-gcc/xgcc > enceladus$ > > No stage4 result but whatever :\ we didn't want that anyways ? Good, there should only be three stages. > checking for the correct version of gmp.h... yes > checking for the correct version of mpfr.h... yes > checking for the correct version of mpc.h... no > configure: error: Building GCC requires GMP 4.2+, MPFR 3.1.0+ and MPC > 0.8.0+. Which version of mpc have you got in the GCC source tree, and how did you add it there? What does 'ls -d ../gcc-12.1.0/mpc*' show? What does config.log (in the build dir) say before it fails? It should tell you where it found mpc.h and which version it found.