From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.xry111.site (unknown [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id D23033857376 for ; Mon, 9 May 2022 18:14:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D23033857376 Received: from localhost.localdomain (unknown [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384)) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by mail.xry111.site (Postfix) with ESMTPSA id F42166699B; Mon, 9 May 2022 14:14:28 -0400 (EDT) Message-ID: <84ae93717f8000f670df64eea48bdc45b0f5b329.camel@xry111.site> Subject: Re: stage1 gcc bootstrap fails looking for bits/libc-header-start.h From: Xi Ruoyao To: Dennis Clarke , gcc-help Date: Tue, 10 May 2022 02:14:25 +0800 In-Reply-To: <78ed50e6-c0b5-1002-49a4-e11ec14ee727@blastwave.org> References: <78ed50e6-c0b5-1002-49a4-e11ec14ee727@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.3 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_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Mon, 09 May 2022 18:14:32 -0000 On Mon, 2022-05-09 at 13:15 -0400, Dennis Clarke via Gcc-help wrote: >=20 > Not sure what is causing this on a Linux armv7 32-bit machine but I > have > libc6-dev installed and that provides : >=20 > # ls -lapb /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h Normally GCC won't search /usr/include/{multiarch directory} for headers. So if you want to bootstrap GCC on a distro with such a directory you'll need --enable-multiarch. > This is a reasonable little Debian machine Maybe it's reasonable or not, Debian multiarch is described at: https://wiki.debian.org/Multiarch/ --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University