From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by sourceware.org (Postfix) with ESMTPS id D9784385843E for ; Fri, 13 May 2022 16:44:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D9784385843E Received: by mail-wm1-x329.google.com with SMTP id m2-20020a1ca302000000b003943bc63f98so5045195wme.4 for ; Fri, 13 May 2022 09:44:02 -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=sq/8t0s6lI6ewb4bdnwXgA3jW8l/2b5rcAIvRQopM4U=; b=iREmmcAE/tnOu287H/7SB0EgpM9oVNqZsNpc+9emY+3Zd0r+2R+GjUbfCvL6Dlo3fJ 9RSPwB18BV3mfaRgCWksq9tfYFqDiA2eBtRpoQrSop5D4UGfFC3edFtL+dNZPXe07Ysp busfOv8KnTOUftQio+pRcwDorRUx0nE0PywvBjgyVssJ1PrpCDTgTvWHLXvcOF2hGnDy rtwmisNFyEyI+rGlndcMQz6usXdYTuEJtHoe7UJvn8AmvRx8JWEd+6U6OMFDJYofQJ/c KoviEatRi5+f3Huo98kqXaJASMcy9wQon5l1DctKCvI7s5rODwgEsNEkHBzNAzwoUwyn IP3w== X-Gm-Message-State: AOAM532/ExcsiuC9cXJmVGa25AVg3k9lFWzLFC16iNFHw6R2X09rKAKu dK8hHih8K+aD0J/zKjPMLJVlPi5yakpi4dDRzak= X-Google-Smtp-Source: ABdhPJzOc8Z4552zubrT9kPp5pMVgXQM5tlosD9XtBRmAG9MVqmPO9GvSIzt2juUb+2n85/llHGNSLDYuvRkdDTJv7Q= X-Received: by 2002:a7b:c119:0:b0:393:f98e:b56e with SMTP id w25-20020a7bc119000000b00393f98eb56emr15842915wmi.128.1652460241466; Fri, 13 May 2022 09:44:01 -0700 (PDT) MIME-Version: 1.0 References: <7f1f1a2f-6c9f-d3ad-8aa1-499c87eb8caf@blastwave.org> <05fc1487-9080-5822-4e32-81cf49d13961@blastwave.org> In-Reply-To: From: Jonathan Wakely Date: Fri, 13 May 2022 17:43:50 +0100 Message-ID: Subject: Re: bootstrap fails on Debian ppc64 with fatal error: bits/libc-header-start.h: No such file or directory To: Xi Ruoyao Cc: Dennis Clarke , gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 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 16:44:04 -0000 On Fri, 13 May 2022 at 17:21, 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. > > 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. > > > Other than just RTFM. Yeah, the point is that unless you use --disable-multilib you need both: /usr/include/powerpc64-linux-gnu *and* /usr/include/powerpc-linux-gnu i.e. the 64-bit libc headers *and* the 32-bit libc headers.