From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id DD3E03839C67 for ; Fri, 13 May 2022 15:24:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DD3E03839C67 Received: from [IPv6:240e:358:11a9:1300:9c47:e9a1:8531:2529] (unknown [IPv6:240e:358:11a9:1300:9c47:e9a1:8531:2529]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id E1DE366888; Fri, 13 May 2022 11:24:53 -0400 (EDT) Message-ID: <9f2b4f60a0ef40a456c499c9d48bb3e4dfc79b34.camel@xry111.site> Subject: Re: bootstrap fails on Debian ppc64 with fatal error: bits/libc-header-start.h: No such file or directory From: Xi Ruoyao To: Dennis Clarke , gcc-help Date: Fri, 13 May 2022 23:24:40 +0800 In-Reply-To: <7f1f1a2f-6c9f-d3ad-8aa1-499c87eb8caf@blastwave.org> References: <7f1f1a2f-6c9f-d3ad-8aa1-499c87eb8caf@blastwave.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.1 MIME-Version: 1.0 X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FROM_SUSPICIOUS_NTLD, LIKELY_SPAM_FROM, PDS_OTHER_BAD_TLD, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 15:24:58 -0000 On Fri, 2022-05-13 at 11:11 -0400, Dennis Clarke via Gcc-help wrote: /* snip */ > /opt/bw/build/gcc-12.1.0_debian_ppc64.003/./gcc/xgcc=20 > -B/opt/bw/build/gcc-12.1.0_debian_ppc64.003/./gcc/=20 > -B/opt/gcc/imed/gcc12/powerpc64-linux-gnu/bin/=20 > -B/opt/gcc/imed/gcc12/powerpc64-linux-gnu/lib/ -isystem=20 > /opt/gcc/imed/gcc12/powerpc64-linux-gnu/include -isystem=20 > /opt/gcc/imed/gcc12/powerpc64-linux-gnu/sys-include=C2=A0=C2=A0 -fno-chec= king -g > -O2 -m32 -O2=C2=A0 -g -O2 -DIN_GCC=C2=A0=C2=A0=C2=A0 -W -Wall -Wno-narrow= ing -Wwrite-strings=20 ^^^^ /* snip */ > However I don't see why : >=20 > enceladus$ > enceladus$ /opt/bw/build/gcc-12.1.0_debian_ppc64.003/./gcc/xgcc=20 > -print-multiarch > powerpc64-linux-gnu > enceladus$ -m32 will change it to powerpc-linux-gnu. Generally you need to get some knowledge about a distro if you want to use it for development. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University