From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by sourceware.org (Postfix) with ESMTPS id 696DA3858406 for ; Sat, 14 May 2022 07:06:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 696DA3858406 Received: by mail-wr1-x42b.google.com with SMTP id v12so13906608wrv.10 for ; Sat, 14 May 2022 00:06:30 -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=eGvYJJdu+EZ418XIWK156Yi2wB3HN1oLhLD0hUtmUoU=; b=cI1jBepnsMor/n0U6JJzbmR4NukJ6XMoLZW6RJeZi1Es0IS137kGdDkIsC5CYKgsmB d0TVNxnKijqX/bimAByn2it8ufUsPRuLXus7Ydzt43lVWbjkTc5g57nzYUg6KWRG3/r/ QfbINhMt43t5lJpA/g7xYryU6UQW+uQZTBDuL5UrPPPOx/G1qLqvS4NOG5Kp4rs1ySBr t3c3YBg3GO4AXPppWAWKCKoqetum7YfCGRtgS7fDOOe/Fhij/rmMelE1ubVmhifzva+J YEOeC2GUiVtsovjodGYe8VDTjwZuAV6xFTTD9S5MSv0DT0WHdAwqF7yFFnYWaECwCYGE VAiA== X-Gm-Message-State: AOAM531BXJYvjYakVt325f3IUV9/JCbyOoGLaX9i96sJKNfFQ+wq9Y/+ pRj1e86iI0MWgjnhRxxMUXn6Iz2RfFvUY9GdI8gt+l7T X-Google-Smtp-Source: ABdhPJzoiWEUmwqQhJxQZSyuBGcpLjqk3fvrPWQcQ44rQP4rLe0Gasr9V6TyNc7KJuiHAF57v7Ke4harprJkWNBX3Es= X-Received: by 2002:a05:6000:186f:b0:20c:5f3d:44a4 with SMTP id d15-20020a056000186f00b0020c5f3d44a4mr6647336wri.152.1652511989022; Sat, 14 May 2022 00:06:29 -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: From: Jonathan Wakely Date: Sat, 14 May 2022 08:06:18 +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, KAM_SHORT, 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: Sat, 14 May 2022 07:06:32 -0000 On Sat, 14 May 2022 at 00:22, Dennis Clarke wrote: > > > >>> Honestly, I find that hard to believe. > >> > >> Me too! > >> > >>> > >>> One or the other is needed. If you need both, I think you're the only > >>> person in the world who needs that. > >>> > >> > >> Not bloody likely right? I am looking into that and I think the real > >> issue is that the versions wanted in the source tree must be the same as > >> the stuff dragging in by the script kicker download_prerequisites : > >> > >> https://gcc.gnu.org/install/prerequisites.html > >> > >> The in-tree build is only supported with the GMP version that > >> download_prerequisites installs. > > > > Right, you should be using that script. > > > > https://gcc.gnu.org/wiki/InstallingGCC > > > > Well what difference does it make anyways? > The correct versions are the correct versions. Well you keep running into problems doing things your way, so I'm suggesting you just use the well-tested route that is known to work. > > > Or (as that page says) just install the debian packages and stop > > installing them by hand. > > But I want to have the libs around as fully non-optimized and no > assembly single steppable debug enabled full of goodness. Which I > can certianly do. > > > >> However what do I know? There is another page that says do a bootstrap4 > >> for extra spice and flavour in your result. That doesn't fly. > > > > Well stop trying to do weird stuff and just Keep It Simple. > > > > That just drains the joy out of everything. OK, I'll leave you to it then, have fun. > >> Okay so it needs 'wget'. Fine. Easy to fix that. > > > > It uses curl instead if wget is not found. Most people have one or the > > other already installed. > > Yeah, I prefer curl. Regardless ... > > > > >> Same stuff I use however the mpfr *needs* a patch. > > > > Eh? Why? > > Those folks working on gmp and mpfr really are the experts. The page > says : > > https://www.mpfr.org/mpfr-current/#download > > The bugs listed below have been fixed (latest update: 2021-05-17). > > See https://www.mpfr.org/mpfr-current/#fixed > > Thirteen bug fixes and from what I have heard directly from some good > folks the code in GMP has been subjected to an actual proof. The MPFR > code is in process. I gather those bug fixes are valuable and trivial > to apply. In fact the download_prerequisites script could be updated > to fetch the patches and just apply them. They don't affect the code GCC uses.