From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) by sourceware.org (Postfix) with ESMTP id 7C3DD395B45E for ; Fri, 13 May 2022 17:30:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7C3DD395B45E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=kernel.crashing.org Received: from gate.crashing.org (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id 24DHTRkl019881; Fri, 13 May 2022 12:29:27 -0500 Received: (from segher@localhost) by gate.crashing.org (8.14.1/8.14.1/Submit) id 24DHTQKV019878; Fri, 13 May 2022 12:29:26 -0500 X-Authentication-Warning: gate.crashing.org: segher set sender to segher@kernel.crashing.org using -f Date: Fri, 13 May 2022 12:29:26 -0500 From: Segher Boessenkool To: Xi Ruoyao Cc: Dennis Clarke , gcc-help@gcc.gnu.org Subject: Re: bootstrap fails on Debian ppc64 with fatal error: bits/libc-header-start.h: No such file or directory Message-ID: <20220513172926.GX25951@gate.crashing.org> References: <7f1f1a2f-6c9f-d3ad-8aa1-499c87eb8caf@blastwave.org> <05fc1487-9080-5822-4e32-81cf49d13961@blastwave.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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 17:30:34 -0000 Hi! On Sat, May 14, 2022 at 12:20:30AM +0800, Xi Ruoyao via Gcc-help wrote: > On Fri, 2022-05-13 at 12:15 -0400, Dennis Clarke via Gcc-help wrote: > > > There has to be some other configure option in the salad to mix in. > > No, not "has to be". It depends on what you want. > > If you don't need multilib (i. e. the ability to compile "Hello world" > program for 32-bit PPC), then --disable-multilib. That is not the best idea. It disables *all* multilibs: for example, for soft float as well. If you want to not enable all targets, just say so in your --enable-targets=, that is what it is for. --disable-multilib means "kneecap the compiler, I don't care about all the functionality this may disable". > If you need it, you really need to RTFM to get how to install 32-bit > libraries with headers on Debian, as it's OT with gcc-help. Yeah, and all this "multiarch" stuff is as well. (GCC does biarch just fine of course, it is a similar concept, but much older, and it does work fine. It's not the same thing :-) ) Segher